diff --git a/src/Tests/ParagraphsAdministrationTest.php b/src/Tests/ParagraphsAdministrationTest.php
index 80f2a46..a6e9973 100644
--- a/src/Tests/ParagraphsAdministrationTest.php
+++ b/src/Tests/ParagraphsAdministrationTest.php
@@ -6,6 +6,7 @@
 
 namespace Drupal\paragraphs\Tests;
 
+use Drupal\Component\Utility\SafeMarkup;
 use Drupal\Core\Entity\Entity;
 use Drupal\field_ui\Tests\FieldUiTestTrait;
 use Drupal\paragraphs\Entity\Paragraph;
@@ -48,6 +49,7 @@ class ParagraphsAdministrationTest extends WebTestBase {
     $this->drupalPlaceBlock('local_tasks_block');
     $this->drupalPlaceBlock('local_actions_block');
   }
+
   /**
    * Tests the revision of paragraphs.
    */
@@ -131,7 +133,6 @@ class ParagraphsAdministrationTest extends WebTestBase {
     $this->assertText('TEST TITEL');
   }
 
-
   /**
    * Tests the paragraph creation.
    */
@@ -348,6 +349,96 @@ class ParagraphsAdministrationTest extends WebTestBase {
   }
 
   /**
+   * Test paragraphs which are nested inside other paragraphs.
+   */
+  public function testNestedParagraphs() {
+    $admin_user = $this->drupalCreateUser(array(
+      'administer site configuration',
+      'administer nodes',
+      'create article content',
+      'create paragraphs content',
+      'administer content types',
+      'administer node fields',
+      'administer node display',
+      'administer paragraphs types',
+      'administer paragraph fields',
+      'administer paragraph display',
+      'administer paragraph form display',
+      'administer node form display',
+      'edit any article content',
+      'delete any article content'
+    ));
+    $this->drupalLogin($admin_user);
+
+    // Create a paragraph type with fields for text and a reference.
+    $this->drupalPostForm('admin/structure/paragraphs_type/add', [
+      'label' => 'Nested Paragraph',
+      'id' => 'nested_prgph',
+    ], t('Save'));
+    $this->drupalPostForm('admin/structure/paragraphs_type/nested_prgph/fields/add-field', [
+      'label' => 'Paragraph',
+      'field_name' => 'prgph_text',
+      'new_storage_type' => 'text_long',
+    ], t('Save and continue'));
+    $this->drupalPostForm(NULL, [
+      'cardinality' => '-1',
+    ], t('Save field settings'));
+    $this->drupalPostForm('admin/structure/paragraphs_type/nested_prgph/fields/add-field', [
+      'label' => 'Nested Paragraph',
+      'field_name' => 'prgrph_nested',
+      'new_storage_type' => 'entity_reference_revisions',
+    ], t('Save and continue'));
+    $this->drupalPostForm(NULL, [
+      'settings[target_type]' => 'paragraph',
+      'cardinality' => '-1',
+    ], t('Save field settings'));
+    $this->drupalPostForm('admin/structure/paragraphs_type/nested_prgph/form-display', [
+      'fields[field_prgrph_nested][type]' => 'entity_reference_paragraphs'
+    ], t('Save'));
+
+    // Add the new paragraph type to the content type article.
+    $this->drupalPostForm('admin/structure/types/manage/article/fields/add-field', [
+      'label' => 'Paragraph',
+      'field_name' => 'field_paragraph',
+      'new_storage_type' => 'entity_reference_revisions',
+    ], t('Save and continue'));
+    $this->drupalPostForm(NULL, [
+      'settings[target_type]' => 'paragraph',
+    ], t('Save field settings'));
+    $this->drupalPostForm('admin/structure/types/manage/article/form-display', [
+      'fields[field_field_paragraph][type]' => 'entity_reference_paragraphs'
+    ], t('Save'));
+
+    // Remove the body field from the content type article.
+    $this->drupalPostForm('admin/structure/types/manage/article/fields/node.article.body/delete', [], t('Delete'));
+
+    // Add article with nested paragraphs.
+    $this->drupalPostForm('node/add/article', [
+      'title[0][value]' => 'Test article'
+    ], t('Add Nested Paragraph'));
+    $this->drupalPostForm(NULL, [
+      'field_field_paragraph[0][subform][field_prgph_text][0][value]' => 'This'
+    ], t('Add Nested Paragraph'));
+    $this->drupalPostForm(NULL, [
+      'field_field_paragraph[0][subform][field_prgrph_nested][0][subform][field_prgph_text][0][value]' => 'is'
+    ], t('Add another item'));
+    $this->drupalPostForm(NULL, [
+      'field_field_paragraph[0][subform][field_prgrph_nested][0][subform][field_prgph_text][1][value]' => 'a'
+    ], t('Add Nested Paragraph'));
+    $this->drupalPostForm(NULL, [
+      'field_field_paragraph[0][subform][field_prgrph_nested][1][subform][field_prgph_text][0][value]' => 'test'
+    ], t('Save and publish'));
+
+    // Check the article content if it contains the (nested) paragraphs.
+    $content = $this->xpath('//div[@class="field field--name-field-field-paragraph field--type-entity-reference-revisions field--label-above"]')[0]->div[1]->div;
+    $message = (string) $content->div->div[1]->div->p . ' ';
+    $message .= (string) $content->div[1]->div[1]->div->div->div->div[1]->div[0]->p . ' ';
+    $message .= (string) $content->div[1]->div[1]->div->div->div->div[1]->div[1]->p . ' ';
+    $message .= (string) $content->div[1]->div[1]->div[1]->div->div->div[1]->div->p;
+    $this->assertEqual($message, 'This is a test', 'Found (nested) paragraphs content');
+  }
+
+  /**
    * Asserts that a select option in the current page is checked.
    *
    * @param string $id
