test & write memory manager.