Hardening/harness errors under valgrind

### Description
Made the harness and valgrind tests a little easier on the eye.
Fixed a few errors in harness tests.

Yeah, unfortunately the python tool for beautifying the json output adds spaces after each comma. If you use your mouse you find the difference. github doesn't detect it here. Strange as it is detected in other cases. Perhaps only when you remove a space, not when you add one?

NTC