Make PostManager.create() return the newly created post.

Add test case to verify this behavior.