Wrote tests for errors editing todo items