added test for index page.