Add path.relative and test cases