Fix #1913
Issue #1913: Add a test