If the condom broke it would rip apart and just leave the ring at the base so that didn't happen because both of you would know it.
You are safe, so try to relax, and it is not necessary to test since you can't get HIV when you use a condom. Besides, are you sure she even has HIV or is this just a rumor?