diff --git a/tests/ContainerParser/Nodes/ArrayNodeTest.php b/tests/ContainerParser/Nodes/ArrayNodeTest.php
index <HASH>..<HASH> 100644
--- a/tests/ContainerParser/Nodes/ArrayNodeTest.php
+++ b/tests/ContainerParser/Nodes/ArrayNodeTest.php
@@ -106,4 +106,24 @@ class ArrayNodeTest extends \PHPUnit\Framework\TestCase
 
         $this->assertEquals(['A' => [1 => 10, 'test' => 20], 'B' => [1 => 10, 'test' => 20]], $parent->convertToNativeArray());
     }
+
+    /**
+     * @expectedException ClanCats\Container\Exceptions\LogicalNodeException
+     */
+    public function testConvertToNativeWithRef()
+    {
+        $node = new ArrayNode();
+        $node->push(new ParameterReferenceNode('foo'));
+        $node->convertToNativeArray();
+    }
+
+    /**
+     * @expectedException ClanCats\Container\Exceptions\LogicalNodeException
+     */
+    public function testConvertToNativeWithRefService()
+    {
+        $node = new ArrayNode();
+        $node->push(new ServiceReferenceNode('bar'));
+        $node->convertToNativeArray();
+    }
 }
\ No newline at end of file
Testing nested arrays for references