add test for #7636