added test for post