Test a repository