refactor: simplify mock repository setup