Positive test from miscarriage?

Kara • Girl #1 2012 - Girl #2 2016 - Baby #3 2018 2 Angel Babies
I miscarried my baby and placenta on feb 16th and had a d&c to remove remaining tissue on feb 20th. While the heavy bleeding has stopped, I have noticed spotting the mornings after I have sex with my husband. I haven't had a period yet so I took a pregnancy test bc I've never had spotting like that before and there was a faint line but I'm just wondering if I would still be getting positives from the pregnancy I lost last month?