Added suppression file to ctest MemCheck.
Chmod a-x on test files.
Fixed a few valgrind and c++analyzer warnings.