Set up enough so that events are logged to a file and that is tested.