Added test for bug #1111 [TDD Fails]