Functional investigation of esophageal disease