add test for #626