get rid of annoying deprecation message by setting I18n.available_locales in tests.