I believe that until she names him as the father on the birth certificate that he has no standing in the courts and therefore cannot force her to submit to a test.
She's willing to have the test. They both want to know, so they can plan accordingly.
Being a woman myself, I tend to believe her. However, being a woman myself, I know women lie.