events controller tests and events controller handle sessions