Has a doctor ever run an unnecessary Pregnancy Test on you?

I've recently noticed a pattern in my health care system where I answer the question "Is there any chance you are pregnant?" With "No, absolutely no chance." And then later on I see my test results and the doctor ran a urine pregnancy test even though I said there is no chance of pregnancy. My hospital now requires a pregnancy test before having a colonoscopy if you are under 55, yet there are many women who have no chance of being pregnant. Has anyone else experienced this? Feels like gaslighting and as if women don't understand biology. So demeaning, not to mention the extra cost of the unnecessary test, or the trauma of seeing a negative pregnancy result when you wish you could have kids but cannot.