malloc_test: realloc testing support