test for issue #1404