The organisms living in your gut microbiome can influence your mental and physical health. Researchers have developed a way to better test for those biological effects.