added test for post deletion