Run regression tests using valgrind (optionally). See #120.