What is the most accurate test to differentiate pancreatic cystic neoplasms?

What is the most accurate test to differentiate pancreatic cystic neoplasms?