I don't know that there are any places who will do anonymous testing
for stds. Many will do anonymous HIV
, but not stds.
However, if you go to a clinic, and get tested, they have to adhere to the same confidentiality laws that your regular doc does.
Some places won't push it if you refuse to give some info, others will.
Its really important that you get tested, and that if you have anything, that you tell your wife, as she could have it to, and you'd just end up re-infected.