add new method post.Unpublish and write tests to unpublishing of posts