Fixed valgrind test runner (exit code / posix compliance)