Nicer checking with valgrind