To avoid overdoses, some test their heroin before taking it