In the States, mandatory drug and alcohol testing (including random testing) of airline employees having safety-sensitive jobs have been the law since early 1990s. Pilots, flight attendants, flight dispatchers, mechanics, ATC personnel, etc., are all already subject to random testing.
In Canada, the regulatory situation is a bit different, but as far as I know all major airlines in Canada have comprehensive drug and alcohol policies in place.