Index: tests/post/objects.php
===================================================================
--- tests/post/objects.php	(revision 978)
+++ tests/post/objects.php	(working copy)
@@ -113,4 +113,15 @@
 		$this->assertInternalType( 'array', $post['ancestors'] );
 		$this->assertEquals( 'raw', $post['filter'] );
 	}
+
+	function test_get_post_to_edit() {
+		$post = get_post( $this->factory->post->create( array( 'post_type' => 'page' ) ) );
+
+		$post = get_post( $post, OBJECT, 'edit' );
+
+		$this->assertTrue( isset( $post->page_template ) );
+
+		$this->assertInternalType( 'array', $post->post_category );
+		$this->assertInternalType( 'array', $post->tags_input );
+	}
 }
