draft unti test for IndexController