Surgery can also remove diseased parts of your pancreas. The pancreatic function test, also called the secretin stimulation test, shows whether your pancreas is responding normally to secretin.