Don't the pickle test case always running 2 seconds.
Added PackWithReplacements method.