Add tests and config for def_locale