Add regression test for RT 122593