test for better pickling