Refactor todo creation spec