Test scenario form creating a custom field with empty name, other  for check how the fallback name is set.
Custom validator to check the presence of custom field name.
Add also validation for name value length
Acceptance tests for empty custom fields
Merge pull request #1320 from netfighter/bugfix/5652_custom_fields_with_empty_name