It was either a faulty test or you were pg and had an early mc. Both my mc were early and I didn't suffer any pain - I could easily have mistaken them for AF (apart from pg symptoms) - one was shorter and lighter than my usual AF & the other was longer than AF but not heavy.