test for post_class