Women in the third trimester of pregnancy were asked whether they had discussed prenatal genetic testing with their health care providers , whether they understood this testing was optional , and whether they had undergone testing during their pregnancy .