[vm] fixed mmap tests