Use StringUtil.readLines and FileUtil.readFileLines when comparing
expected and result in TestFramework.checkRegression.