Testcase for bug #32