tests: fix failing on Windows test