Fix Testing and subclasses (store_data, store_models).
Fix pickling of Values.