Add purge(), get_tasks(), and add_tasks()

Allow manipulation of enqueued tasks for integration testing.

Add purge(), get_tasks(), and add_tasks()

This allows us to run our enqueued tasks out of order when needed.

@robertkluin-wf @beaulyddon-wf @tannermiller-wf