tests for RT #117579.