[COREVM-76] Improve heap_mem_allocator_unittest