Allow one-shot operation of hydra-queue-runner, fix tests.