added events controller tests