fix all tests except 'win'