Risks for HIV are:
1) Having unprotected penetrative anal or vaginal sex, OR
2) Sharing IV drug equipment with other IV drug users.
No matter what else you can think of, including the event you described, it will NOT be a risk for HIV. Forget about this event and move on. You had zero risk and you do not need a test.