In some cases, lab tests may be necessary to rule out certain disorders that can cause constipation. These can include blood and thyroid tests.