cannot test delete function for events