Make tests work on Windows