added valgrind test on building