added repository service tests