test for issue #559