A stool sample test will let the doctor know if there is bleeding or infection in the intestines.