Do they test for pregnancy at physical without you asking?

So I had a physical 2 days ago, everything was great and went well! I got prescribed to birth control but just waiting for my period to start so I can take it

But at a physical do they test for pregnancy? I gave them a urine sample

Some months mt boobs and lower back will hurt the whole month and I was like hmm pregnancy ? But they said everything was fine but I didn’t ask them to take a pregnancy test. Just a gurl asking 4 help lol