Add test for RT #77668