odd question about miscarriage...

If you miscarriage later in pregnancy - past 20 weeks 
If you take a pregnancy test ( with out baby passing yet) 
Would it still say you're pregnant ??