Fixed test on slower CI boxes
Removed duplicated tests and problematic on some CI boxes.
Fixed test on slower CI box
Made test more resillient on CI boxes
Fixed test on Windows
Fixed test on slower CI boxes
Caching of FileUtil.isWindows call, since it gets called quite often. In the profiler It showed up as taking 5-10% cpu on my system.
Fixed CS
Fixed test