If the mother already knows that she is the biological mother of a child, then there is no need to test her if only the alleged father is in question. A conclusive answer regarding paternity can be obtained without testing the mother.
In some rare special situations such as mutations or possible fathers are relatives, testing of the mother may be recommended.