Add a test for RT #121885.