fix test, travis build for pickle