First of all, when you say that two brothers are potential fathers, I assume it means both of them had sex with the mother during the time period around the estimated date of conception. Correct?
As for your question, if the goal is to make the best possible determination as to which of these two men is the child's father, the answer is obviously yes (although "tested" is a completely inappropriate term in this context).

