two types of pancreatic function test