LOG4J2-431: fix JUnit tests: account for platform-dependent line
separators