Fixed tests on Windows: changed "\n" -> PHP_EOL

New lines are represented by "\r\n" characters on Windows
so tests relying on "\n" are failing.
Merge pull request #27 from miso-belica/fix-win-eol-tests

Fixed tests on Windows: changed "\n" -> PHP_EOL