Fix absolute path check for WIN in Path. Improve tests.