Added test for edit todo list functionality