Test Repository for class