add event_test.go