thank you for using health care magic,HSG
test does not affect any hormone or menstrul cycle.. it does not cause delay in periods..
if you had unprotected sex without using any birth control method on your fertile day then there are chances that you are pregnant.. home pregnancy
test becomes positive after week of missing period plus its result are not very reliable..
i will suggest you to wait for few days and still if you dont get periods consult gynecologist and take more confirmatory test like beta hcg
level or ultrasound