tests for deleting posts