We should add some test cases, e.g. based on the [docker torque image](https://hub.docker.com/r/agaveapi/torque/).