Added tests for SPR-10918.

Added failing test for SPR-10918.