fix windows build of tests