Added test for editing todo list.