Adding test for compact event.  Adding batch size to write event.