there is the Heidleberg test (not sure if it is still used) to test for stomach acid, but far easier is looking at symptoms which I talked about when we did the glossary.
Hyperacidity symptoms - heartburn, red, sometimes almost pointed tongue, red gums, little to no gas, bloating or borborygmus
hypoacidity (achlorhydria) symptoms - heartburn, heavy white coat (moss) on tongue, scalloped edges on tongue, bloating, flatulence, borborygmus, may have low grade diarrhea or undigested food in stools
as for strengthening the lower esophageal sphincter there are some herbs that may offer some benefits, but eating smaller meals, losing weight (if overweight) , slowing eating all, avoid eating 3 hours before bedtime, if a smoker stop smoking probably work better for this. The herbs used include prokinetics such as Yarrow, Angelica, Bai Zhu/Artactylodes, Artichole leaf, the Kanpo formula’s Rikkunshito or Daikenchuto, the TCM formula SI Mo Tang and there are esophageal exercises (see below). For respiratory irritation demulcent herbs (yin tonics) such as Licorice, Mai Men Dong/Ophiopogon, Tian Men Dong/Chines Asparagus root, Prince Seng, Solomon’s Seal, Shatavari, Marshmallow, Slippery Elm pr Goji Berry may be of some help.
Annals of Physical and Rehabilitation Medicine
Volume 61, Supplement, July 2018, Pages e381-e382
ISPR8-0979
Swallowing exercise for upper esophageal sphincter dysfunction in stroke patient with dysphagia: A systematic review