A diagnostic method for the determination of esophagus function