Pregnancy blood test

Ashley
I was recently tested for pregnancy cause of spotting. What are the two types of things they test for.