When it comes to sexual transmission of HIV, the risks are easy to identify. No unprotected penetration = no risk for HIV. If you want to ask about syphilis, you can do that in the STDs forum: https://
www.medhelp.org/forums/STDs---STIs/show/98
But having syphilis does not turn a zero risk event into a risk event for HIV.
You had no risk for HIV and you do not need to test for HIV.