malloc_test: new module for testing/debugging memory problems