bug fix to patch from params, add test validating patch recon