[PATCH v2 1/2] tpm: Separate out the TPM tests for v1 and v2