Test program for using mmap method