1)changed method names in todoController 2)Added test cases