add test case for memory mananger

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