edited a bug with getTask method, and modified TaskListTest to fit the new changes in TaskList