Added contrived test case to find bugs