The pancreas produces endocrine hormones ... A gastrinoma can be diagnosed with laboratory tests that measure stomach acid levels and gastrin levels. Your doctor may order imaging tests (CT scan or ...