And for those that think they will just set up a lab in the garage.
Some of the incidental costs:
Analysis by a $35,000-to-$45,000 (used) gas chromatograph with a flame ionization detector can detect the quantity of aromatic terpenes, which give cannabis its taste and smell. It can also identify unsafe solvents such as butane in hash oils and other extracts.
Analysis by a $65,000 (used) liquid chromatograph to assess an assortment of cannabinoids by molecular weight.
Analysis by a $200,000 (used) mass spectrometer for pesticides.
Sample cultured in petri dishes to see if it contains yeast, mold, fungus or bacteria such as E. coli.
Sample tested to identify its genetic strain using polymerase chain-reaction to amplify its DNA.