Functional test for errors in adding a post.