create a controller and a view test
Add test with view