Test opening for a repository.