Will a pregnancy test be positive the next day after a miscarriage?

Yes and it can be for several weeks.