Sometimes a biopsy of the small intestines may be performed to look for signs of parasitic infection, celiac disease, or a tumor. Some tests may be done to help check the general health of the individual and/or to help give clues to the cause of the diarrhea: