There are four ways to test for H. pylori: a urea breath test, a stool antigen test, an upper endoscopy, and a blood test. However, Cummings said the blood test is rarely used in the U.S. because ...