Any testing in babies in utero is very risky. Even taking amniotic fluid presents a certain amount of risk.
dna testing can be done in utero