What happens after an HSG?

Yuly
I had an HSG on June 29th. My cycles are between 32-36 days. Today I'm in my CD 38. I was supposed to get my period on July 25-26, but I haven't seen it yet. I have taken several hpt and they all are bfn. On 7/16 I had some CM with specks of blood and then on 7/18 I had some red blood after sex only when I wiped only for that day. Why can this be happening? Is It possible to have ovulated early because of the test and that's why I had that blood in the beginning of the month?