removing two duplicate asserts in a test.