Make tests work on windows