Test that event dispatching uses the call ID stack