Index: tests/post.php
===================================================================
--- tests/post.php	(revision 1285)
+++ tests/post.php	(working copy)
@@ -622,4 +622,24 @@
 		$this->assertInstanceOf( 'WP_Error', wp_update_post( $post, true ) );
 
 	}
+
+	function test_wp_parse_post_content_single_page() {
+		$post_id = $this->factory->post->create( array( 'post_content' => 'Page 0' ) );
+		$post = get_post( $post_id );
+		$content = wp_parse_post_content( $post );
+		$this->assertEquals( 0, $content['multipage'] );
+		$this->assertCount(  1, $content['pages']     );
+		$this->assertEquals( 1, $content['numpages']  );
+		$this->assertEquals( array( 'Page 0' ), $content['pages'] );
+	}
+
+	function test_wp_parse_post_content_multi_page() {
+		$post_id = $this->factory->post->create( array( 'post_content' => 'Page 0<!--nextpage-->Page 1<!--nextpage-->Page 2<!--nextpage-->Page 3' ) );
+		$post = get_post( $post_id );
+		$content = wp_parse_post_content( $post );
+		$this->assertEquals( 1, $content['multipage'] );
+		$this->assertCount(  4, $content['pages']     );
+		$this->assertEquals( 4, $content['numpages']  );
+		$this->assertEquals( array( 'Page 0', 'Page 1', 'Page 2', 'Page 3' ), $content['pages'] );
+	}
 }
Index: tests/post/output.php
===================================================================
--- tests/post/output.php	(revision 1285)
+++ tests/post/output.php	(working copy)
@@ -170,4 +170,40 @@
 
 		kses_remove_filters();
 	}
+
+	function test_the_content_with_id() {
+		$post_content = <<<EOF
+test_the_content_with_id <i>This is the excerpt.</i>
+<!--more-->
+This is the <b>body</b>.
+EOF;
+
+		$post_id = $this->factory->post->create( compact( 'post_content' ) );
+
+		$expected = <<<EOF
+<p>test_the_content_with_id <i>This is the excerpt.</i><br />
+<span id="more-{$post_id}"></span><br />
+This is the <b>body</b>.</p>
+EOF;
+
+		$this->assertEquals( strip_ws( $expected ), strip_ws( get_echo( 'the_content', array( null, false, $post_id ) ) ) );
+	}
+
+	function test_the_remaining_content_with_id() {
+		$post_content = <<<EOF
+test_the_remaining_content_with_id <i>This is the excerpt.</i>
+<!--more-->
+This is the <b>body</b>.
+EOF;
+
+		$post_id = $this->factory->post->create( compact( 'post_content' ) );
+
+		$expected = <<<EOF
+<p>test_the_remaining_content_with_id <i>This is the excerpt.</i><br />
+<span id="more-{$post_id}"></span><br />
+This is the <b>body</b>.</p>
+EOF;
+
+		$this->assertEquals( strip_ws( $expected ), strip_ws( get_echo( 'the_remaining_content', array( null, false, $post_id ) ) ) );
+	}
 }
