add test for posting body with buffer