Tests for UnpublishedEventsContainer.