test for post.py