Removing redundant assertions and adding one test.