Valgrind tests and output test results