Add rspec for event type model and add restrict delete