Test re pickling for all protocols.