This would only be done if the GU doctor thinks you might have syphillis. Other tests (urine, blood, visual) check for the presence of other diseases (HIV, gonorrhea, chlymidia etc.)
I've heard of prostitues getting facial herpes from their clients, but I suppose it makes sense - the herpes...