Positive test

How long after you start to bleed from a miscarriage will the tests start being negative? Would the start getting lighter?