One author of the study , Dr. Pankaj J. Pasricha of the University of Texas Medical Branch at Galveston , said the test for changes in the gastrointestinal tract , an electrogastrogram , was painless and simple to perform .