Add test for index page.
Make index file a template (no use made of the ability yet).