Use assertEquals() instead of assertSame()

The text files have different line endings depending on the system on
which the test are being run.

(Issue #16)