you cannot just replace `\n` with `\r\n` if there is already a mix of them. It would make `\r\n` to `\r\r\n`. This was the way to get tests pass on both environments.