Allow to use 'default' key in required_languages dict form.
Add required_languages test.