Hey Peachy...I do get those awful stomach pains if I take too much Imodium. It makes it where the poop sort of backs up and doesn't come out and chances are, you did not need it, so I am like you and I take it so I won't be in a bad place/time to need to go and not be able to. Anyway, I wish I could tell you more of what to do for it, but I end up (sorry to be gross) farting a lot and since you probably won't poop for a day or so, that is your only real relief. Make sure you get a lot of liquids too since it hardens everything up, it sort of absorbs your liquids. That may help too.
Hope all the tests went well.
TRY to live each day like it were your last