Test for the Heap.garbageCollected event.