Fix issue with tests and Windows line endings