update the todo controller functional tests