index page and unittest