When testing for celiac disease do they run a gluten test?

Blood test. Usually doctors will start with getting a history. There is more to gluten sensitivity than just "stomach problems". Then they might order a blood test: anti-tissue transglutaminase antibodies, and/or anti-endomysial antibodies. Depending on those results, they may or may not need a colonoscopy/endoscopy.