How long do hormones stay in your body after a miscarriage?

I had a d&c exactly a month ago & took a test today just to see if hormones were still there. How long do they stay in your body??