add index controller test file