Test the function of posting