diff --git a/src/Tests/TokenCommentTest.php b/src/Tests/TokenCommentTest.php
index f1a73a9..65820d2 100644
--- a/src/Tests/TokenCommentTest.php
+++ b/src/Tests/TokenCommentTest.php
@@ -47,7 +47,7 @@ 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..582c7aa 100644
--- a/src/Tests/TokenNodeTest.php
+++ b/src/Tests/TokenNodeTest.php
@@ -48,7 +48,7 @@ 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 +69,7 @@ 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' => '',
