Added test case for issue #2