added  testcase for issue #2