testing pain meds