A state government has been slammed for abandoning permanent pill-testing clinics after extremely potent synthetic opioids were found in Australian wastewater for the first time.