fix CopyProcessor and test