fix failing tests on windows (#420)