Update MaintenanceEventRepo.findById and add unit tests