Edited TaskListTest to fit with slightly changed code in TaskList.