Lab tests may also be done on a sample of blood, stool, urine or phlegm. These tests examine body fluids for the presence of parasites. For example, a stool sample may show the eggs of a parasite.