[4.2] Fixed Tests On Windows

On windows, laravel will still return linux style new lines, so it's incorrect for the tests to use the php eol constant, thus the tests were failing before I made this fix.