diff --git a/tests/Rct567/DomQuery/Tests/DomQueryTest.php b/tests/Rct567/DomQuery/Tests/DomQueryTest.php
index <HASH>..<HASH> 100644
--- a/tests/Rct567/DomQuery/Tests/DomQueryTest.php
+++ b/tests/Rct567/DomQuery/Tests/DomQueryTest.php
@@ -307,6 +307,18 @@ class DomQueryTest extends \PHPUnit\Framework\TestCase
     }
 
     /*
+     * Test to array and array as constructor argument
+     */
+    public function testConstructorWithNodesArray()
+    {
+        $nodes_array = DomQuery::create('<div>X</div><p>Nope</p>')->toArray();
+        $this->assertContainsOnlyInstancesOf(\DOMNode::class, $nodes_array);
+        $this->assertCount(2, $nodes_array);
+        $dom = new DomQuery($nodes_array);
+        $this->assertEquals('<div>X</div><p>Nope</p>', (string) $dom);
+    }
+
+    /*
      * Test constructor exception
      */
     public function testConstructorException()
add test for to and from array of nodes