updated controller tests