added unit test for module of memory manager