Added Path object and test cases