Added test for deleting posts