Test the delete block fn