testing for errors in controller