Adds a test for the index page