The new tests could detect THC, methamphetamine, MDMA and cocaine.