minor refactor to improve IntegrationTest.groovy robustness on windows platform