Add testing for TaskList class