Fixed path related tests for Windows