Using System.getProperty("line.separator") instead of "\n" so that
failing test passes on Windows as well.

Signed-off-by: Michael Vorburger <mike@vorburger.ch>