fixed tests to run on Windows