If the drug doesn't seal properly in the lab, the dog can sniff it out. It depends on the dog's training, the type of drug, and the testing procedure. If the drug is placed in a sealed bag, the dog will not be able to smell it.