A colorectal transit study may be done to see how fast food moves through the colon. During this test, the patient swallows capsules containing small markers that are visible on an x-ray. Multiple x-rays are taken 3 to 7 days after the capsule is swallowed to see how well the colon is working.