Statins: Genetic Test For Side Effects?

I have high cholesterol, and my doctor prescribed a statin drug to lower it. I haven't filled the prescription because friends insist I first have a genetic test to see if I will develop side effects to the drug. Can you tell me anything about the test?
Source: Dr. Weil Q and A - Category: Consumer Health News Source Type: news