Add test for RT #116597