A new test can quickly identify a common and dangerous condition during pregnancy and help keep mothers and babies healthy and safe.