miscarriage

I had a miscarriage 4 weeks ago and i kept testing til i got a negative. this morning it was a vvfl could this be from the last pregnancy? how long after miscarriage did you get a negative test.