Adds a single test for the index action of farms_controller.