test a repository