win32: fix tests