There is no test for fibromyalgia, been down this road. You can test for lupus since those mimick eachother with symptoms. I was tested for lupus just in case since I had so much pain.
Anyway a lot of doctors don't even believe in fibromyalgia. Some claim it is just a label to give someone when you can't say what is causing something.