Add tests for RepositoryLoader