green test for index controller test