It doesn't sound like you ever had a risk for HIV, so testing was not necessary.
Am sorry about your swollen lymph nodes.Kindly get them checked and forget about HIV which you were never exposed to.
I also have swollen lymph nodes and come from similar Situation.
HIV is the least likely cause, but other causes could be stds such as gonorrhea chlamydia syphilis etc.
There's a good chance it may not be those either and could be caused by a more general infection such as uti, ngu or even viral infection like herpes.
Also, anti biotics could cause this.