During the test, small samples may be taken from polyps, or polyps may be removed completely. When a health care provider takes a sample of a tumor or cancer, the test is known as a biopsy.