* Platform-dependent newline characters were used. This makes testing hard. Fix will be to remove all \n characters and replace them with System.out.println and to use System.lineSeparator() in test code.