Wrote tests for errors creating todo items