test for issue #621