Add purgeAndPause() to TxTaskQueueTest.