Fix platform-dependent newlines handling in test (issue#3)