Test repository for class