add test for TodoController