Added valgrind test.