Added sanity tests.