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.

Same comments as above.