Hardening/harness test cleanup round 2

All tests using orionCurl super function now plus a couple of minor bugs.
I think we should research this problem and fix it as soon as possible, i.e. within this PR.