Glad you are having further testing/imaging done to see what is going on in there. It really could be a lot of things. A hernia will reveal itself. But groin pain and testicle pain are different. I'm not sure from your description which this is. If you pulled your groin, that can give you testicular pain. The Symptoms of a Sports Hernia
It's painful to run, spring, cut, pivot, kick or twist; it's a sharp pain concentrated in the groin region. Like a pulled groin, it's usually isolated to one side of the groin. Pain radiates down into the inner thigh and may even occur with coughing and sneezing. What about kidney stones? That can also cause the symptoms you mention.