refactored tests for redesign of index page