adding test case for issue #4