Refactored the todo list creation in spec and fixed minor issues