Antibody Avidity and HIV Testing. The reason that avidity tests can be used to determine the length of an HIV infection is that over time, the avidity of the anti-HIV antibodies made by the immune system will improve. This method, however, is limited by prompt, effective treatment.