RepositoriesController test coverage #31

Resolved #31