fix tests under windows