tIdxbyListEx(h, 0, [0,2]), 34, "[0,2]=34"); // skip context tag
equal(ASN1HEX.getIdxbyListEx(h, 0, [0,3]), 40, "[0,3]=40"); // skip context tag
});

test("ASN1HEX.getTLVbyList", function() { 
  var h = "3016300902011a02011b02011c300902012a02012b02012c";
  var h2 = "308201a830820152a0030201020209009e775e7d9f43abc9300d06092a864886f70d0101050500301a310b3009060355040613024a50310b3009060355040a13027a32301e170d3130303533313036313735365a170d3230303532383036313735365a301a310b3009060355040613024a50310b3009060355040a