test: Fix tests on windows