Fix issue with line endings in tests in *nix

-Different platforms return different line ending characters