Add test for RT #74946