testcase for issue #11