diff --git a/src/Tests/TokenCommentTest.php b/src/Tests/TokenCommentTest.php
index f1a73a9..c0f36e5 100644
--- a/src/Tests/TokenCommentTest.php
+++ b/src/Tests/TokenCommentTest.php
@@ -47,7 +47,10 @@ class TokenCommentTest extends TokenKernelTestBase {
   }
 
   function testCommentTokens() {
-    $node = Node::create(['type' => 'page']);
+    $node = Node::create([
+      'type' => 'page',
+      'title' => $this->randomMachineName()
+    ]);
     $node->save();
 
     $parent_comment = Comment::create([
diff --git a/src/Tests/TokenNodeTest.php b/src/Tests/TokenNodeTest.php
index a2a9003..3e019e6 100644
--- a/src/Tests/TokenNodeTest.php
+++ b/src/Tests/TokenNodeTest.php
@@ -48,7 +48,12 @@ class TokenNodeTest extends TokenKernelTestBase {
   }
 
   function testNodeTokens() {
-    $page = Node::create(['type' => 'page', 'revision_log' => $this->randomMachineName(), 'path' => array('alias' => '/content/source-node')]);
+    $page = Node::create([
+      'type' => 'page',
+      'title' => $this->randomMachineName(),
+      'revision_log' => $this->randomMachineName(),
+      'path' => array('alias' => '/content/source-node')
+    ]);
     $page->save();
     $tokens = array(
       'log' => $page->revision_log->value,
@@ -69,7 +74,10 @@ class TokenNodeTest extends TokenKernelTestBase {
     );
     $this->assertTokens('node', array('node' => $page), $tokens);
 
-    $article = Node::create(['type' => 'article']);
+    $article = Node::create([
+      'type' => 'article',
+      'title' => $this->randomMachineName()
+    ]);
     $article->save();
     $tokens = array(
       'log' => '',
