Test whether FloatWithUnit and ArrayWithUnit support Pickle.