In this June 21, 2018, photo, laboratory manager Emily Savage demonstrates how she uses an instrument to photograph cannabis samples at CW Analytical Laboratories, in Oakland, Calif. California's new rules require testing of marijuana for pesticides and contaminants such as heavy metals, solvents and mold. They also say edibles must be tested to determine concentrations of the mind-altering ingredient THC. (AP Photo/Jeff Chiu)