Fixed tests to run on Windows