added testing for repeatingevent class