SONAR-5484 Fix test on windows