Testing mmap functionality