added some tests for index page