Add a test for the historical initialization of CloseEvent.