added test and initial implementation for path_id