fixed paths and breadcrumbs in Repository, added more tests