Tests fix and readme correction

Updating readme and fixing tests by using `\r\n` instead of `\n`.