Understanding the science behind drug testing methods