added tests for mmap allocator