make valgrind more happy by check results (nothing principial).
make valgrind more happy by check results part 2