Add response's status code test of index view.