Fix order dependent tests

Restore default ActiveSupport::XmlMini.backend after tests
Be sure to restore the default I18n.locale after changed its value in a test