The test doesn't affect them. Hormone levels during development are the primary way the body controls development, so even small alterations in hormone levels in utero would be expected to have large physiological consequences.
> Is that not a far reaching statement to associate the two
Luckily, the field of statistics gives us ways to reason about whether or not to believe an observed effect.
In this case[1], the researchers used data on 100% of Norwegian births from 1967-1978 (n=728,842) including 13,800 twins. From these large n's the researchers are able to get the statistical power to measure these effects at the level of precision they did. The p-values for all the reported effects are presented in the appendix [2] and ranged from <.001 to .054 for the outcomes reported to be different.
It's worth noting that many of these differences had already been observed in multiple previous studies. The difference in marriage rates, for example, already appeared in a study analyzing records of 18th and 19th century (1734–1888) Finns [3].
So, in summary, while these statements are interesting, they're in no way an overreach, given the amount of data analyzed.
1: https://www.pnas.org/content/early/2019/03/14/1812786116
2: https://www.pnas.org/content/pnas/suppl/2019/03/14/181278611...
3: https://www.pnas.org/content/104/26/10915?ijkey=2c55ba770f14...