As far as I know, there is no medical test that can guarantee if a woman is capable of having children (or not). All the doctor can do is say that she has all the right equipment and that the equipment is in working order. If there were a test that could tell one way or the other, it wouldn't be so difficult to find out why any woman who can't conceive, can't. As for test on men, unless the man has a zero sperm count, there's no guarantee there, either.
Cindy