write tests for todo items