You had bleeding for 2 days and then was 4 weeks late getting your period took a test it positive could you have been pregnant while were bleeding?
It is also possible that you had a chemical pregnancy, which is a very early miscarriage that occurs before the pregnancy is even detectable on an ultrasound. Chemical pregnancies are common, and they often result in bleeding that is similar to a period. If you had a chemical pregnancy, it is possible that you conceived shortly after your last period, but that the pregnancy did not progress beyond the early stages.
If you are still experiencing irregular bleeding, or if you have any concerns about your pregnancy, it is important to see your doctor.