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.

./scripts/testEnv.sh:    LISTENER2_PORT=9977