added some error testcases in vector
added some error testcases in vector

NerdWalletOSS/Q,NerdWalletOSS/Q,NerdWalletOSS/Q,NerdWalletOSS/Q,NerdWalletOSS/Q,NerdWalletOSS/Q,NerdWalletOSS/Q,NerdWalletOSS/Q