Testcase for Bug #452246