Fixed test to reflect index view