added functionality to convert windows newlines in test files to linux newlines, as well as removing extra trailing newlines