It adds test for api controler (index)