Port asn1 nodeunit test to mocha.