Test deletePost