Added test for IndexView