added hasEventRegistration() method to EventService and updated test method.