Added regression test for #7283