Adding support to test multiple callbacks on the same task.