Add tests for DelayedTaskIterator