Add tests for selecting language.
Use current i18n for all state creator functions.