Add more tests around JitMemoryRegion. am: 3a614eaa58
am: 5cf4217ae7

Change-Id: I41e5c5fcfd556d4c51b20948b9305bfda069c35c