test patching