Hopeless after second miscarriage

2 blighted ovums in one year. First in January at 9 wks after getting pregnant naturally . Second this week at 6 wks after fertility medication & IUI. Beyond heartbroken and feeling hopeless. We were diagnosed with unexplained infertility as everything looked normal but now my doctor wants us to stop trying and see a specialist for genetic testing on my husband and I. Specifically she thinks the DNA in my husband's sperm should be tested due to his medical history. She thinks there may be an underlying issue why our embryos aren't developing. She doesn't even think we should do IVF until we've done the testing.

So for you ladies with recurrent miscarriages, did you do genetic testing, received diagnosis and treatment and went on to have healthy pregnancy and baby?

For anyone who had genetic testing for both partners could you tell me what this involves (is it just blood work or do they examine semen etc) and the costs?