Wraps long lines in test results. (fix #1030, close #1031)