Some test code for object-local heaps.