Added tests for SPR-10918.