Added regression test for issue HHH-9186.