commit
fix typo in route
complete test for index controller