Add unit test to ListTasksTask