Tests for the IndexView.