Added unit testing around index page display.