non regression test for bug 7337 added