TaskQueue.work return the total number of tasks attempted.
Some initial TaskQueue tests.