Add test for RT#122087.