Model tests and code for deleting a post.