complete index controller tests