Fix tests around paths for windows.