Yes. Even though you are undergoing rehabilitation, your employer still has the right to test you for drugs to make sure that you are complying with the program .