Functional testing for controller
integration testing