- Added repository method to get the parent hierarchy.
- Updated tests.