A population-based study of HIV testing practices and perceptions in 4 U.S. states