Risks for HIV are:
1) having unprotected, penetrative anal or vaginal sex, or
2) sharing intravenous needles.
Nothing else that you can think of, including the event you described, is a risk for HIV. There is no "what if" that you can add to this scenario that would make it a risk for HIV. Saliva inhibits HIV, and the amount of blood and depth of your mouth wound would have been insufficient to introduce HIV into your bloodstream.
You did not have a risk for HIV and you do not need to test.