Add test for displayment of index changes in the main view