The three main tests used when GERD is suspected or known are esophageal pH monitoring, endoscopy, and manometry. With pH monitoring, the doctor measures the amount of acid in the esophagus over a 24-48 hour period. This test is used mainly to rule out GERD if symptoms are not typical for acid reflux. It is also very helpful in identifying patients who may need surgery as a treatment for GERD.