ESAPI function to invoke the TPM2_Vendor_TCG_Test command either as a one-call or in an asynchronous manner.