create test for index page