Tests now use system line-separator for newlines, fixes #2

Use System.getProperty("line.separator") instead of hard-coded "\n"
for newlines to improve chances of tests passing on non-Unixy systems
(i.e. Windows)