Brown spotting

Stephanie • Boyfriend: 12/29/2014 - Forever :) Baby Boy - 09/25/2016 and pregnant with baby #2 due 11/20/2017
I woke up this morning and there was light brown spotting in my underwear. It only happened this morning, none throughout the day. I DID go to the hospital last night and they had to put this thing in my vagina and get samples from my vagina to make sure I had peed my pants instead of it being amniotic fluid. So do you think the brown spotting was because of them sticking that thing in me? I haven't had anymore spotting and it was this morning. Btw I'm 9 weeks and 3 days.