Pregnancy tests determine the levels of the human chorionic gonadotropin (hCG) hormone, which may maintain higher levels in the body for quite some time after a pregnancy loss. Hence a pregnancy test may come positive during a miscarriage (19).