wip: repositories_controller: spec: fix tests