The high cost of testing cannabis in California leads to higher prices for the consumer, which could drive consumers to unlicensed markets. A new study finds the safety tests cost growers about 10 percent of the average wholesale price of legal cannabis. The biggest share of this expense comes from failing the test.