The intentions of gay men in taking an HIV test