updating index controller tests