Add a test for RT #122604