add unit/acceptance tests for index page