Acid staining test is done to diagnose cryptosporidiosis in stool samples. This cryptosporidium can be very difficult to detect, so that the doctor may ask for several stool samples at several days. Otherwise, a biopsy can be done by taking a tissue sample from the intestine.