they need to use the right diagnosis code so the test is covered (with any medical test). if you needed a drug test (because you are on pain meds, etc), the insurance will cover it.
Your insurance flagged you because you had no indication for the test and not the right diagnosis. That happens with most tests (I am a MD, so I see this all the time).