add test for issue 259