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.

I think to remember that we have two situations, which difference is 5 bytes. Thus, probably we can use a REGEX that selects either one case of the other. What do you think?