Though chances of HIV transmission from a single isolated act of unprotected sex with a partner with unknown health status are not very high, but not zero either.
Unprotected vaginal and anal sex is risky, with or without ejaculation.If your previous test was an HIV Duo test, it cleared you from the previous exposure of April 2015 only. Now in July you had unprotected sex with the same partner again, however you do not know much about his own exposures between April and July, therefore to rule out your risk, you have to get yourself tested again, as you were advised.
Unprotected vaginal and / or anal sex is safe ONLY between two partners, enjoying a long term mutually committed monogamous relationship.Everything outside, carries the risk
You had a high risk. Take a DUO test at 28 days