Locale factory test