Fixed tests running on windows