Add test for RT #77562