Having all the signs of a miscarriage cramps, back pains, weakness, heavy bleeding and blood clots, is so why did the pregnancy test give a positive?

May happen. It takes a while for the pregnancy test to become negative after a spontaneous miscarriage. If your bleeding is heavy such that you are changing a pad every hour or so, your should let your OB/GYN know.