The tests fail on Windows because you are using line.separator here and \n in the tests. All other multi-line options use a hard-coded \n, so it's probably safe to use that here as well. Can change that and run a generated test job with Clear Case as a check?