Add test helper .assertTextEqual to stip EOL

This helpers normalize text EOL so tests can pass on windows too.
Merge pull request #368 from SBoudrias/eol-test

Add test helper .assertTextEqual to stip EOL