 aaa 512/sha1", function() {
  var hExpected = "0001ffffffffffffffffffffffffffffffffffffffffffffffffffff003021300906052b0e03021a050004147e240de74fb1ed08fa08d38063f6a6a91462a815";
  var hPM = _rsasign_getHexPaddedDigestInfoForString("aaa", 512, 'sha1');
  expect(2);
  equal(hPM.length, 128, "check padded message length 64byte*2chars=128chars");
  equal(hPM, hExpected,
         "check padded message for string aaa with SHA1withRSA 512bit" );
});

test("_rsasign_getHexPaddedDigestInfoForString aaa 2048/sha1", 