Both of these tests can show if there is a problem with the esophagus or stomach. They can show if a hiatal hernia is causing your symptoms. They may also be able to show if there is another cause.