[Process] Fix tests on windows