Added test for home controller index method.