Add a test for RT #122423