medically necessary testing