Added failing test for issue #1121.