diff --git a/test/TodoListTest.py b/test/TodoListTest.py
index <HASH>..<HASH> 100644
--- a/test/TodoListTest.py
+++ b/test/TodoListTest.py
@@ -4,6 +4,7 @@ import datetime
 import re
 import unittest
 
+import Todo
 import TodoFile
 import TodoList
 
@@ -126,6 +127,14 @@ class TodoListTester(unittest.TestCase):
         self.assertTrue(self.todolist.todo_by_dep_id('1'))
         self.assertFalse(self.todolist.todo_by_dep_id('2'))
 
+    def test_todo_number(self):
+        todo = Todo.Todo("No number")
+        self.todolist.add_todo(todo)
+
+        todo = self.todolist.todo(6)
+        self.assertIsInstance(todo, Todo.Todo)
+        self.assertEquals(todo.text(), "No number")
+
 class TodoListDependencyTester(unittest.TestCase):
     def setUp(self):
         self.todolist = TodoList.TodoList([])
Add (failing) test for checking the number of a newly added todo.

When using the add_todo method, the todo number is not set.
It needs some refactoring to move the number property to the
TodoList, instead of being a property of Todo.