diff --git a/core/modules/rest/src/Tests/NodeTest.php b/core/modules/rest/src/Tests/NodeTest.php
index 7169102..a812a3a 100644
--- a/core/modules/rest/src/Tests/NodeTest.php
+++ b/core/modules/rest/src/Tests/NodeTest.php
@@ -8,6 +8,7 @@
 namespace Drupal\rest\Tests;
 
 use Drupal\Core\Url;
+use Drupal\node\Entity\Node;
 use Drupal\rest\Tests\RESTTestBase;
 
 /**
@@ -90,4 +91,31 @@ public function testNodes() {
     // Make sure that the UUID of the node has not changed.
     $this->assertEqual($node->get('uuid')->getValue(), $updated_node->get('uuid')->getValue(), 'UUID was not changed.');
   }
+
+  /**
+   * Test creating a node using json serialization.
+   */
+  public function testCreate() {
+    // Check that a simple PATCH update to the node title works as expected.
+    $this->enableNodeConfiguration('POST', 'create');
+    $this->enableService('entity:node', 'POST', 'json');
+    $data = array(
+      'type' => array(
+        array(
+          'target_id' => 'resttest',
+        ),
+      ),
+      'title' => array(
+        array(
+          'value' => $this->randomString(),
+        ),
+      ),
+    );
+    $serialized = $this->container->get('serializer')->serialize($data, 'json');
+    $this->httpRequest('/entity/node', 'POST', $serialized, 'application/json');
+    $this->assertResponse(201);
+    $node = Node::load(1);
+    $this->assertHeader('Location', $node->url('canonical', ['absolute' => TRUE]));
+  }
+
 }
