memmgr: realloc test preparation

Signed-off-by: Wilfried Chauveau <ithinuel@gmail.com>