Welcome to the forum.
You are absolutely no risk for HIV from the events described. The virus is never transmitted by hand-genital contact and cannot be caught by masturbation by an HIV infected partner, or personally, even if vaginal or other body fluids are used for lubrication. The virus also cannot be transmitted by nose picking, eye rubbing, etc. It is not sexually transmitted except by a bare penis (no condom) getting inside another person's vagina, rectum or (rarely) mouth.
So you need not be worried, should not be tested unless you are otherwise at risk, and can safely continune unprotected sex with any regular partner(s) you may have.
I hope this has helped. Best wishes-- HHH, MD
You're welcome. I'm glad to have helped.
Thank you... I now know it's all in my mind. thank you for helping me put things in prespective.