add test for events#index