Added tests for events array in candidate schema.