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.

How much time it takes at valgrind?