Indigestion, abdominal discomfort and bloating can be caused by many conditions like gastritis, stomach ulcer, gallstones, GERD, lactose intolerance, IBS or even certain medications or lifestyle factors. Digestive function tests help diagnose the exact cause behind your symptoms.