​The Michigan Medical Marijuana Licensing Board approved licenses for two testing facilities on Thursday, putting the last piece into the puzzle that will unlock the medical pot market in the state.

The board approved a total of seven licenses last month, but none of them were for testing facilities, a necessary element for medical pot to make it from growers to processors and dispensaries.

On Thursday, licenses were awarded for two testing facilities — Iron Laboratories in Walled Lake and Precision Safety Innovation Laboratories in Ann Arbor. Seven other licenses also were awarded, including for six dispensaries — four in Detroit, one in Jackson and one in Burton — and a processing facility that is attached to a Chesaning business that got four large grow licenses last month.

As soon as the testing facilities get their actual licenses, they’ll be able to begin testing marijuana and marijuana-infused products that will be sold in dispensaries.