Adapt test_parallel_test for windows