fix tests to work with windows