test pickle compartmentalization