Pass the unit test for updateTask(oriTask,newTask)