basic test for index view