add test for #8614