Added test case for Bug 2106.