Made tests work on Windows.