Testing under valgrind: added valgrind options, that reveal memleaks.