Added a sanity check test.