No need to feel embarrassed about the STD testing. They can hide in your body for years. I told my ob/gyn I was considering getting prego so I wanted to be sure I didn't have anything.
You don't need to get into the whole sordid details with your dr. Just tell him/her that a friend of yours didn't want to be tested so you promised to do it too for moral support.