test complex vector patching