Added some sanity tests.