Adding unit tests for addTodoItem