Fixed update test case, because of new API.
Fixed update test case, because of new API.

polyfunc/flask-todolist,rtzll/flask-todolist,0xfoo/flask-todolist,guillaumededrie/flask-todolist,0xfoo/flask-todolist,guillaumededrie/flask-todolist,0xfoo/flask-todolist,guillaumededrie/flask-todolist,rtzll/flask-todolist,polyfunc/flask-todolist,rtzll/flask-todolist,polyfunc/flask-todolist,rtzll/flask-todolist