Test environment for index action of event model