test index page with DB