[JENKINS-25112] Make tests pass on Windows

[JENKINS-25112] (https://issues.jenkins-ci.org/browse/JENKINS-25112)
I want tests pass also on Windows, as I develop on Windows.