Add more tests around JitMemoryRegion.
am: 3a614eaa58

Change-Id: Icb8e90edd15d7150ddcbfb417dc7c961728124cb