Hardening/harness test cleanup round 2

All tests using orionCurl super function now plus a couple of minor bugs.
Sure, why not.
We need a volunteer.
I am currently running the functional tests locally and I'm facing some problems.
I can look into this after that, but it might take some time ...