   dhm.update message
   d_msg = dhm.digest('hex')
 
-  test.deepEqual d_msg, n_msg
+  test.deepEqual d_msg, n_msg, 'HMAC Interop equal failure'
   test.done()
 
+testIssue7_ecdsa_sha1 = (test) ->
+  keys = dcrypt.keypair.newECDSA()
+  s = dcrypt.sign.createSign("SHA1")
+  s.update('test message')
+  signature = s.sign(keys.pem_priv, output='hex')
+
+  v = dcrypt.verify.createVerify("SHA1")
+  v.update('test message')
+  passed = v.verify(keys.pem_pub, signature, signature_format='hex')
+  test.same(passed, true, 'ECDSA Signature Verification failed')
+  test.done()
+
+exports.testIssue7_ecdsa_sha1 = testIssue7_ecdsa_sha1
 exports.testKeyPairs = testKeyPairs
 exports.testRandomBytes = testRandBytes
 exports.testHash = testHash

  ecverif = dcrypt.verify.createVerify "SHA1"
  ecverif.update message
  ecpass = ecverif.verify(keys.pem_pub, ecsig, signature_format='hex') 
  test.ok ecpass

  test.notDeepEqual sig, ecsig
  test.done()

testCipher = (test) ->

  mt = ndecipher.update(ct, 'hex', 'utf8')
  mt += ndecipher.final('utf8')

  test.deepEqual(mt, message, 'Cipher encrypt and decrypt Interop failure')

  #reuse
  cipher.init(algo, key)
