Add task delegation test