Issue #1356: Add a test.
Fix #1356