Resolution or improvement of symptoms on this course may result in a diagnosis of GERD.Other tests or symptoms suggesting acid reflux is causing heartburn include:

Onset of symptoms after eating or drinking, at night, and/or with pregnancy, and improvement with PPIs
Endoscopy looking for erosive changes of the esophagus consistent with prolonged acid exposure (e.g. - Barretts esophagus)
Upper GI series looking for the presence of acid reflux

GI cocktail
Relief of symptoms 5 to 10 minutes after the administration of viscous lidocaine and an antacid increases the suspicion that the pain is esophageal in origin. This however does not rule out a potential cardiac cause as 10% of cases of discomfort due to cardiac causes are improved with antacids. Biochemical
Esophageal pH monitoring: a probe can be placed via the nose into the esophagus to record the level of acidity in the lower esophagus. Because some degree of variation in acidity is normal, and small reflux events are relatively common, esophageal pH monitoring can be used to document reflux in real-time. Patients are able to record symptom onset to correlate lower esophageal pH with time of symptom onset. Mechanical
Manometry: in this test, a pressure sensor (manometer) is passed via the mouth into the esophagus and measures the pressure of the LES directly.Endoscopy: the esophageal mucosa can be visualized directly by passing a thin, lighted tube with a tiny camera known as an endoscope attached through the mouth to examine the oesophagus and stomach. In this way, evidence of esophageal inflammation can be detected, and biopsies taken if necessary.
Heartburn is commonly used interchangeably with gastroesophageal reflux disease (GERD) rather than just to describe a symptom of burning in ones chest. Differential diagnosis
Heartburn-like symptoms and/or lower chest or upper abdomen may be indicative of much more sinister and/or deadly disease. Of greatest concern is to confuse heartburn (generally related to the esophagus) with a heart attack as these organs share a common nerve supply. Numerous abdominal and thoracic organs are present in that region of the body. Many different organ systems might explain the discomfort called heartburn. Heart
The most common symptom for a heart attack is chest pain. However, as many as 30% of chest pain patients undergoing cardiac catheterization have findings that do not account for their chest discomfort. These are often defined as having "atypical chest pain" or chest pain of undetermined origin. Women experiencing heart attacks may also deny classic signs and symptoms and instead complain of GI symptoms. One article estimates that ischemic heart disease may appear to be GERD in 0.6% of people. Esophagus
GERD (most common cause of heartburn) occurs when acid refluxes from the stomach and inflames the esophagus. Esophageal spasms typically occur after eating or drinking and may be combined with difficulty swallowing.