Test path.resolve