test for postdata