Move i18n config to test helper

See #560