refactor todo list creation tests