In general I don't think drug testing for certain jobs is a bad thing. What jobs get tested, how often, and what drugs get tested for is something reasonable people can disagree about.
I don’t even do drugs and I rarely drink. I just think your performance on the job should be all that matters. If you drink, sleep poorly, etc, and it affects your performance, that should be observable and reacted to accordingly.
I would not have objected to vision tests and reflex tests, that sort of thing, to be licensed to use potentially dangerous equipment.
The best move then would be, of course, be to consume a large amount of marijuana the night before you take the test. If they end up not hiring you because of it, well, do you really want to work for someone who will just straight up lie to your face?
I'm in a position now where I could afford to do this. I've also been in positions in the past where I needed a job and did (and would advise others in similar positions) to just play the game and provide the damn pay stubs.
I've also had to pee in cups before that. These sorts of degrading requirements should be banned collectively. It's very hard for an individual who needs a paycheck right quick to personally move the needle on this stuff.