Fixed 'Bug 23721 - Copying info in the test output window results in
wrong text being copied.'.