Unit test for issue #1550