Adding tests for TodoList