Test the view and control in the index page