I believe that at the end of the movie, Sophie says that she doesn’t want to know which one is her “real” father because she ends up loving all 3 of them and having a special place in her life for them all. So, getting a test would probably make her feel more distant from the other 2 or create an awkward air between the dads. Even though it’s already kinda awkward.