Test the index view.