Added checks to a test.