Added test case for the issue 526