fixed TestTaskManager example