Add test for issue #883.