Move common mock repositories in controller tests to base class