Added missing assertion (assuming this was the test-writer's intention?)
Added a test.