ConfideMongoRepository class and tests