taking a pregnancy test after miscarriage....

When should I test??
I had a miscarriage and I haven't had my period yet and we haven't been preventing.
Do you still use the same rule of waiting a month???