Tests that Heap.startTracking and Heap.stopTracking trigger trackingStart and trackingComplete events with expected data.