all tests passing valgrind