Fix path and tests for Windows