Tests for the IndexController.