updated controller tests and view layout