Path: implement equals and hashcode
Path: tests