Using universal_newlines=True when running tests

Reverting several tests expectations to their original values for
line endings and using universal_newlines=True is tests only