Group strep B testing

Did your Dr. Swab your vagina and butt ??? Everything I'm reading says  they have to swab both .. I don't get why they would have too can't they get what they need from a vag swab?