Test for having a repository.