add test for #560