Add test for RT #123005