add test for post