Add 2 more checks in test_view_index.