diff --git a/core/modules/language/config/schema/language.schema.yml b/core/modules/language/config/schema/language.schema.yml
new file mode 100644
index 0000000..17d4edc
--- /dev/null
+++ b/core/modules/language/config/schema/language.schema.yml
@@ -0,0 +1,40 @@
+# Schema for the configuration files of the language module.
+
+language.detection:
+  type: mapping
+  label: 'Language detection settings'
+  mapping:
+    selected_langcode:
+      type: string
+      label: 'Selected language code'
+
+language.negotiation:
+  type: mapping
+  label: 'Language detection methods'
+  mapping:
+    session:
+      type: mapping
+      label: 'Session'
+      mapping:
+        parameter:
+          type: string
+          label: 'Request/session parameter'
+    url:
+      type: mapping
+      label: 'Language from the URL'
+      mapping:
+        source:
+          type: string
+          label: 'Language source'
+        prefixes:
+          type: sequence
+          label: 'Path prefix configuration'
+          sequence:
+            - type: string
+              label: 'Prefix'
+        domains:
+          type: sequence
+          label: 'Domain configuration'
+          sequence:
+            - type: string
+              label: 'Domain'
diff --git a/core/modules/serialization/lib/Drupal/serialization/Tests/EntitySerializationTest.php b/core/modules/serialization/lib/Drupal/serialization/Tests/EntitySerializationTest.php
index 976ac58..fb7019e 100644
--- a/core/modules/serialization/lib/Drupal/serialization/Tests/EntitySerializationTest.php
+++ b/core/modules/serialization/lib/Drupal/serialization/Tests/EntitySerializationTest.php
@@ -23,7 +23,7 @@ class EntitySerializationTest extends DrupalUnitTestBase {
    *
    * @var array
    */
-  public static $modules = array('serialization');
+  public static $modules = array('serialization', 'system', 'entity', 'field', 'entity_test', 'text', 'field_sql_storage');
 
   /**
    * The test values.
@@ -57,7 +57,27 @@ public static function getInfo() {
   protected function setUp() {
     parent::setUp();
 
-    $this->enableModules(array('system', 'field', 'field_sql_storage', 'text', 'entity_test'));
+    $this->installSchema('field', array('field_config', 'field_config_instance'));
+    $this->installSchema('entity_test', array('entity_test_mulrev', 'entity_test_mulrev_property_revision', 'entity_test_mulrev_property_data'));
+
+    // Auto-create a field for testing.
+    field_create_field(array(
+      'field_name' => 'field_test_text',
+      'type' => 'text',
+      'cardinality' => 1,
+      'translatable' => FALSE,
+    ));
+    $instance = array(
+      'entity_type' => 'entity_test_mulrev',
+      'field_name' => 'field_test_text',
+      'bundle' => 'entity_test_mulrev',
+      'label' => 'Test text-field',
+      'widget' => array(
+        'type' => 'text_textfield',
+        'weight' => 0,
+      ),
+    );
+    field_create_instance($instance);
 
     // Create a test entity to serialize.
     $this->values = array(
