Add Valgrind output and gcov tests