Testcase for issue #160