Renamed indexPage route method to index_page.
Style updates: camelcase names changed to underscore in tests.