Added unit test to properly adding a post.