Tests now use os.EOL instead of '\n' for expectations.

Some tests failed under the windows operating system, because the comparison of

> actual: {{outlet}}**\r\n**
> expected: {{outlet}}**\n**

failed. This can be fixed by using the ```os.EOL``` constant.