Sometimes a CT scan of the abdomen or a barium enema test may also be needed. A barium enema is an X-ray test taken after the colon is filled with liquid barium. Lab tests may be needed as well.