Fixed tests to work on Windows

The tests were using line separators from Linux and were failing. As the
test was about redirecting input then I just removed the linebreaks
because doesn't affect the test subject.