Integration tests for index controller