Skip to content

Instantly share code, notes, and snippets.

@matiu
Created June 9, 2014 17:52
Show Gist options
  • Save matiu/c3ed36926064f7552430 to your computer and use it in GitHub Desktop.
Save matiu/c3ed36926064f7552430 to your computer and use it in GitHub Desktop.
$for i in `seq 1 20`;do mocha >> output; done
$ cat output |grep passing
89 passing (8s)
89 passing (8s)
89 passing (9s)
89 passing (8s)
89 passing (8s)
89 passing (8s)
89 passing (8s)
89 passing (8s)
89 passing (8s)
89 passing (9s)
89 passing (10s)
89 passing (8s)
89 passing (8s)
89 passing (8s)
89 passing (8s)
89 passing (8s)
89 passing (8s)
89 passing (10s)
89 passing (9s)
89 passing (9s)
$ cat output |grep passing | wc -l
20
Outputfile
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.

 API
 β—¦ should have a command called "echo": 
 βœ“ should have a command called "echo" (69ms)
 β—¦ should have argTypes for every command: 
 βœ“ should have argTypes for every command 
 β—¦ should throw an error for all commands when called with wrong number of arguments: 
 βœ“ should throw an error for all commands when called with wrong number of arguments 
 β—¦ should have a callback in the arguments on every command: 
 βœ“ should have a callback in the arguments on every command 
 #echo
 β—¦ should echo a string: 
 βœ“ should echo a string 
 #echoNumber
 β—¦ should echo a number: 
 βœ“ should echo a number 
 #echoObject
 β—¦ should echo an object: 
 βœ“ should echo an object 
 #getArgTypes
 β—¦ should get the argTypes of echo: 
 βœ“ should get the argTypes of echo (46ms)
 #getCommands
 β—¦ should get all the commands: 
 βœ“ should get all the commands 
 #getWallets
 β—¦ should get the wallet ids: 
 βœ“ should get the wallet ids 
 #help
 β—¦ should call _cmd_getCommands: 
 βœ“ should call _cmd_getCommands (38ms)
 AddressIndex model
 β—¦ should create an instance (livenet): 
 βœ“ should create an instance (livenet) 
 β—¦ show be able to tostore and read: 
 βœ“ show be able to tostore and read 
 β—¦ should count generation indexes: 
 βœ“ should count generation indexes 
 β—¦ #merge tests: 
 βœ“ #merge tests 
 Passphrase model
 β—¦ should create an instance: 
 βœ“ should create an instance 
 PrivateKey model
 β—¦ should create an instance: 
 βœ“ should create an instance 
 β—¦ should derive priv keys: 
 βœ“ should derive priv keys (63ms)
 β—¦ should derive priv keys array: 
 βœ“ should derive priv keys array (46ms)
 β—¦ should calculate .id: 
 βœ“ should calculate .id 
 β—¦ fromObj toObj roundtrip: 
 βœ“ fromObj toObj roundtrip (41ms)
 PublicKeyRing model
 β—¦ should create an instance (livenet): 
 βœ“ should create an instance (livenet) 
 β—¦ should create an instance (testnet): 
 βœ“ should create an instance (testnet) 
 β—¦ should fail to generate shared pub keys wo extended key: 
 βœ“ should fail to generate shared pub keys wo extended key 
 β—¦ should add and check when adding shared pub keys: 
 βœ“ should add and check when adding shared pub keys (62ms)
 β—¦ show be able to tostore and read: 
 βœ“ show be able to tostore and read (200ms)
 β—¦ should generate some p2sh addresses: 
 βœ“ should generate some p2sh addresses (134ms)
 β—¦ should return PublicKeyRing addresses: 
 βœ“ should return PublicKeyRing addresses (151ms)
 β—¦ should count generation indexes: 
 βœ“ should count generation indexes (174ms)
 β—¦ #merge index tests: 
 βœ“ #merge index tests (178ms)
 β—¦ #merge check tests: 
 βœ“ #merge check tests (91ms)
 β—¦ #merge pubkey tests: 
 βœ“ #merge pubkey tests (102ms)
 β—¦ #merge pubkey tests (case 2): 
 βœ“ #merge pubkey tests (case 2) (83ms)
 β—¦ #merge with nickname: 
 βœ“ #merge with nickname (64ms)
 β—¦ #toObj #fromObj with nickname: 
 βœ“ #toObj #fromObj with nickname (45ms)
 β—¦ #getRedeemScriptMap check tests: 
 βœ“ #getRedeemScriptMap check tests (145ms)
 Structure model
 β—¦ should have the correct constants: 
 βœ“ should have the correct constants 
 β—¦ should get the correct branches: 
 βœ“ should get the correct branches 
 TxProposals model
 β—¦ verify TXs: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ verify TXs (404ms)
 β—¦ should create an instance: 
 βœ“ should create an instance 
 β—¦ #getUsedUnspend: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #getUsedUnspend (272ms)
 β—¦ #merge with self: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge with self (278ms)
 β—¦ #merge, merge signatures case 1: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge, merge signatures case 1 (308ms)
 β—¦ #merge, merge signatures case 2: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge, merge signatures case 2 (401ms)
 β—¦ #merge, merge signatures case 3: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge, merge signatures case 3 (411ms)
 β—¦ #toObj #fromObj roundtrip: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #toObj #fromObj roundtrip (265ms)
 Wallet model
 β—¦ should fail to create an instance: 
 βœ“ should fail to create an instance 
 β—¦ should create an instance: 
 βœ“ should create an instance 
 β—¦ should provide some basic features: 
 βœ“ should provide some basic features (123ms)
 β—¦ #create, 1 sign: 
 βœ“ #create, 1 sign (217ms)
 β—¦ #addressIsOwn: 
 βœ“ #addressIsOwn (266ms)
 β—¦ #create. Signing with derivate keys: 
 βœ“ #create. Signing with derivate keys (446ms)
 β—¦ #fromObj #toObj round trip: 
 βœ“ #fromObj #toObj round trip (239ms)
 β—¦ #getSecret decodeSecret: 
 βœ“ #getSecret decodeSecret (173ms)
 β—¦ decodeSecret check: 
 βœ“ decodeSecret check 
 β—¦ call reconnect after interval: 
 βœ“ call reconnect after interval (1192ms)
 β—¦ handle network indexes correctly: 
 βœ“ handle network indexes correctly 
 β—¦ handle network pubKeyRings correctly: 
 βœ“ handle network pubKeyRings correctly (60ms)
 β—¦ handle new connections: 
 βœ“ handle new connections 
 β—¦ handle disconnections: 
 βœ“ handle disconnections 
 β—¦ should register new copayers correctly: 
 βœ“ should register new copayers correctly 
 β—¦ should register new peers correctly: 
 βœ“ should register new peers correctly 
 β—¦ should get balance: 
 βœ“ should get balance 
 β—¦ should create transaction: 
 βœ“ should create transaction (303ms)
 WalletFactory model
 β—¦ should create the factory: 
 βœ“ should create the factory 
 β—¦ #_checkRead should return false: 
 βœ“ #_checkRead should return false 
 β—¦ should be able to create wallets: 
 βœ“ should be able to create wallets 
 β—¦ should be able to get wallets: 
 βœ“ should be able to get wallets 
 β—¦ #fromObj #toObj round trip: 
 βœ“ #fromObj #toObj round trip (43ms)
 β—¦ BIP32 length problem: 
 βœ“ BIP32 length problem 
 Insight model
 β—¦ should create an instance: 
 βœ“ should create an instance 
 - should return array of unspent output
 - should return txid
 Performance tests
 PrivateKey
 β—¦ should optimize BIP32 private key gen time with cache: 
 βœ“ should optimize BIP32 private key gen time with cache (195ms)
 PublicKeyRing
 β—¦ should optimize BIP32 publickey gen time with cache for 2-of-3: 
 βœ“ should optimize BIP32 publickey gen time with cache for 2-of-3 (134ms)
 β—¦ should optimize BIP32 publickey gen time with cache for 3-of-5: 
 βœ“ should optimize BIP32 publickey gen time with cache for 3-of-5 (216ms)
 Storage/File
 β—¦ should exist: 
 βœ“ should exist 
 #load
 β—¦ should call fs.readFile: 
 βœ“ should call fs.readFile 
 #save
 β—¦ should call fs.writeFile: 
 βœ“ should call fs.writeFile 
 #_read
 β—¦ should return the value of a key: 
 βœ“ should return the value of a key 
 #_write
 β—¦ should save the value of a key and then run save: 
 βœ“ should save the value of a key and then run save 
 #getGlobal
 β—¦ should call storage._read: 
 βœ“ should call storage._read 
 #setGlobal
 β—¦ should store a global key: 
 βœ“ should store a global key 
 #removeGlobal
 β—¦ should remove a global key: 
 βœ“ should remove a global key 
 #_key
 β—¦ should merge the wallet id and item key: 
 βœ“ should merge the wallet id and item key 
 #get
 β—¦ should call getGlobal with the correct key: 
 βœ“ should call getGlobal with the correct key 
 #set
 β—¦ should call setGlobal with the correct key: 
 βœ“ should call setGlobal with the correct key 
 #remove
 β—¦ should call removeGlobal with the correct key: 
 βœ“ should call removeGlobal with the correct key 
 #setFromObj
 β—¦ should set this object for a wallet: 
 βœ“ should set this object for a wallet 
 #getEncryptedObj
 β—¦ should give an encrypted object: 
 βœ“ should give an encrypted object 
 #clearAll
 β—¦ should set data to {}: 
 βœ“ should set data to {} 
  89 passing (8s)
  2 pending
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.

 API
 β—¦ should have a command called "echo": 
 βœ“ should have a command called "echo" (70ms)
 β—¦ should have argTypes for every command: 
 βœ“ should have argTypes for every command 
 β—¦ should throw an error for all commands when called with wrong number of arguments: 
 βœ“ should throw an error for all commands when called with wrong number of arguments 
 β—¦ should have a callback in the arguments on every command: 
 βœ“ should have a callback in the arguments on every command 
 #echo
 β—¦ should echo a string: 
 βœ“ should echo a string 
 #echoNumber
 β—¦ should echo a number: 
 βœ“ should echo a number (40ms)
 #echoObject
 β—¦ should echo an object: 
 βœ“ should echo an object (40ms)
 #getArgTypes
 β—¦ should get the argTypes of echo: 
 βœ“ should get the argTypes of echo (44ms)
 #getCommands
 β—¦ should get all the commands: 
 βœ“ should get all the commands 
 #getWallets
 β—¦ should get the wallet ids: 
 βœ“ should get the wallet ids 
 #help
 β—¦ should call _cmd_getCommands: 
 βœ“ should call _cmd_getCommands 
 AddressIndex model
 β—¦ should create an instance (livenet): 
 βœ“ should create an instance (livenet) 
 β—¦ show be able to tostore and read: 
 βœ“ show be able to tostore and read 
 β—¦ should count generation indexes: 
 βœ“ should count generation indexes 
 β—¦ #merge tests: 
 βœ“ #merge tests 
 Passphrase model
 β—¦ should create an instance: 
 βœ“ should create an instance 
 PrivateKey model
 β—¦ should create an instance: 
 βœ“ should create an instance 
 β—¦ should derive priv keys: 
 βœ“ should derive priv keys (69ms)
 β—¦ should derive priv keys array: 
 βœ“ should derive priv keys array (41ms)
 β—¦ should calculate .id: 
 βœ“ should calculate .id 
 β—¦ fromObj toObj roundtrip: 
 βœ“ fromObj toObj roundtrip (47ms)
 PublicKeyRing model
 β—¦ should create an instance (livenet): 
 βœ“ should create an instance (livenet) 
 β—¦ should create an instance (testnet): 
 βœ“ should create an instance (testnet) 
 β—¦ should fail to generate shared pub keys wo extended key: 
 βœ“ should fail to generate shared pub keys wo extended key 
 β—¦ should add and check when adding shared pub keys: 
 βœ“ should add and check when adding shared pub keys (56ms)
 β—¦ show be able to tostore and read: 
 βœ“ show be able to tostore and read (205ms)
 β—¦ should generate some p2sh addresses: 
 βœ“ should generate some p2sh addresses (146ms)
 β—¦ should return PublicKeyRing addresses: 
 βœ“ should return PublicKeyRing addresses (143ms)
 β—¦ should count generation indexes: 
 βœ“ should count generation indexes (192ms)
 β—¦ #merge index tests: 
 βœ“ #merge index tests (203ms)
 β—¦ #merge check tests: 
 βœ“ #merge check tests (92ms)
 β—¦ #merge pubkey tests: 
 βœ“ #merge pubkey tests (106ms)
 β—¦ #merge pubkey tests (case 2): 
 βœ“ #merge pubkey tests (case 2) (82ms)
 β—¦ #merge with nickname: 
 βœ“ #merge with nickname (56ms)
 β—¦ #toObj #fromObj with nickname: 
 βœ“ #toObj #fromObj with nickname (50ms)
 β—¦ #getRedeemScriptMap check tests: 
 βœ“ #getRedeemScriptMap check tests (157ms)
 Structure model
 β—¦ should have the correct constants: 
 βœ“ should have the correct constants 
 β—¦ should get the correct branches: 
 βœ“ should get the correct branches 
 TxProposals model
 β—¦ verify TXs: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ verify TXs (397ms)
 β—¦ should create an instance: 
 βœ“ should create an instance 
 β—¦ #getUsedUnspend: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #getUsedUnspend (282ms)
 β—¦ #merge with self: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge with self (277ms)
 β—¦ #merge, merge signatures case 1: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge, merge signatures case 1 (324ms)
 β—¦ #merge, merge signatures case 2: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge, merge signatures case 2 (401ms)
 β—¦ #merge, merge signatures case 3: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge, merge signatures case 3 (423ms)
 β—¦ #toObj #fromObj roundtrip: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #toObj #fromObj roundtrip (270ms)
 Wallet model
 β—¦ should fail to create an instance: 
 βœ“ should fail to create an instance 
 β—¦ should create an instance: 
 βœ“ should create an instance 
 β—¦ should provide some basic features: 
 βœ“ should provide some basic features (121ms)
 β—¦ #create, 1 sign: 
 βœ“ #create, 1 sign (222ms)
 β—¦ #addressIsOwn: 
 βœ“ #addressIsOwn (269ms)
 β—¦ #create. Signing with derivate keys: 
 βœ“ #create. Signing with derivate keys (456ms)
 β—¦ #fromObj #toObj round trip: 
 βœ“ #fromObj #toObj round trip (217ms)
 β—¦ #getSecret decodeSecret: 
 βœ“ #getSecret decodeSecret (176ms)
 β—¦ decodeSecret check: 
 βœ“ decodeSecret check 
 β—¦ call reconnect after interval: 
 βœ“ call reconnect after interval (1194ms)
 β—¦ handle network indexes correctly: 
 βœ“ handle network indexes correctly 
 β—¦ handle network pubKeyRings correctly: 
 βœ“ handle network pubKeyRings correctly (57ms)
 β—¦ handle new connections: 
 βœ“ handle new connections 
 β—¦ handle disconnections: 
 βœ“ handle disconnections 
 β—¦ should register new copayers correctly: 
 βœ“ should register new copayers correctly 
 β—¦ should register new peers correctly: 
 βœ“ should register new peers correctly 
 β—¦ should get balance: 
 βœ“ should get balance 
 β—¦ should create transaction: 
 βœ“ should create transaction (283ms)
 WalletFactory model
 β—¦ should create the factory: 
 βœ“ should create the factory 
 β—¦ #_checkRead should return false: 
 βœ“ #_checkRead should return false 
 β—¦ should be able to create wallets: 
 βœ“ should be able to create wallets 
 β—¦ should be able to get wallets: 
 βœ“ should be able to get wallets 
 β—¦ #fromObj #toObj round trip: 
 βœ“ #fromObj #toObj round trip (39ms)
 β—¦ BIP32 length problem: 
 βœ“ BIP32 length problem 
 Insight model
 β—¦ should create an instance: 
 βœ“ should create an instance 
 - should return array of unspent output
 - should return txid
 Performance tests
 PrivateKey
 β—¦ should optimize BIP32 private key gen time with cache: 
 βœ“ should optimize BIP32 private key gen time with cache (193ms)
 PublicKeyRing
 β—¦ should optimize BIP32 publickey gen time with cache for 2-of-3: 
 βœ“ should optimize BIP32 publickey gen time with cache for 2-of-3 (135ms)
 β—¦ should optimize BIP32 publickey gen time with cache for 3-of-5: 
 βœ“ should optimize BIP32 publickey gen time with cache for 3-of-5 (212ms)
 Storage/File
 β—¦ should exist: 
 βœ“ should exist 
 #load
 β—¦ should call fs.readFile: 
 βœ“ should call fs.readFile 
 #save
 β—¦ should call fs.writeFile: 
 βœ“ should call fs.writeFile 
 #_read
 β—¦ should return the value of a key: 
 βœ“ should return the value of a key 
 #_write
 β—¦ should save the value of a key and then run save: 
 βœ“ should save the value of a key and then run save 
 #getGlobal
 β—¦ should call storage._read: 
 βœ“ should call storage._read 
 #setGlobal
 β—¦ should store a global key: 
 βœ“ should store a global key 
 #removeGlobal
 β—¦ should remove a global key: 
 βœ“ should remove a global key 
 #_key
 β—¦ should merge the wallet id and item key: 
 βœ“ should merge the wallet id and item key 
 #get
 β—¦ should call getGlobal with the correct key: 
 βœ“ should call getGlobal with the correct key 
 #set
 β—¦ should call setGlobal with the correct key: 
 βœ“ should call setGlobal with the correct key 
 #remove
 β—¦ should call removeGlobal with the correct key: 
 βœ“ should call removeGlobal with the correct key 
 #setFromObj
 β—¦ should set this object for a wallet: 
 βœ“ should set this object for a wallet 
 #getEncryptedObj
 β—¦ should give an encrypted object: 
 βœ“ should give an encrypted object 
 #clearAll
 β—¦ should set data to {}: 
 βœ“ should set data to {} 
  89 passing (8s)
  2 pending
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.

 API
 β—¦ should have a command called "echo": 
 βœ“ should have a command called "echo" (66ms)
 β—¦ should have argTypes for every command: 
 βœ“ should have argTypes for every command 
 β—¦ should throw an error for all commands when called with wrong number of arguments: 
 βœ“ should throw an error for all commands when called with wrong number of arguments 
 β—¦ should have a callback in the arguments on every command: 
 βœ“ should have a callback in the arguments on every command 
 #echo
 β—¦ should echo a string: 
 βœ“ should echo a string 
 #echoNumber
 β—¦ should echo a number: 
 βœ“ should echo a number (53ms)
 #echoObject
 β—¦ should echo an object: 
 βœ“ should echo an object (45ms)
 #getArgTypes
 β—¦ should get the argTypes of echo: 
 βœ“ should get the argTypes of echo (56ms)
 #getCommands
 β—¦ should get all the commands: 
 βœ“ should get all the commands 
 #getWallets
 β—¦ should get the wallet ids: 
 βœ“ should get the wallet ids 
 #help
 β—¦ should call _cmd_getCommands: 
 βœ“ should call _cmd_getCommands (42ms)
 AddressIndex model
 β—¦ should create an instance (livenet): 
 βœ“ should create an instance (livenet) 
 β—¦ show be able to tostore and read: 
 βœ“ show be able to tostore and read 
 β—¦ should count generation indexes: 
 βœ“ should count generation indexes 
 β—¦ #merge tests: 
 βœ“ #merge tests 
 Passphrase model
 β—¦ should create an instance: 
 βœ“ should create an instance 
 PrivateKey model
 β—¦ should create an instance: 
 βœ“ should create an instance 
 β—¦ should derive priv keys: 
 βœ“ should derive priv keys (77ms)
 β—¦ should derive priv keys array: 
 βœ“ should derive priv keys array (43ms)
 β—¦ should calculate .id: 
 βœ“ should calculate .id 
 β—¦ fromObj toObj roundtrip: 
 βœ“ fromObj toObj roundtrip (46ms)
 PublicKeyRing model
 β—¦ should create an instance (livenet): 
 βœ“ should create an instance (livenet) 
 β—¦ should create an instance (testnet): 
 βœ“ should create an instance (testnet) 
 β—¦ should fail to generate shared pub keys wo extended key: 
 βœ“ should fail to generate shared pub keys wo extended key 
 β—¦ should add and check when adding shared pub keys: 
 βœ“ should add and check when adding shared pub keys (55ms)
 β—¦ show be able to tostore and read: 
 βœ“ show be able to tostore and read (218ms)
 β—¦ should generate some p2sh addresses: 
 βœ“ should generate some p2sh addresses (167ms)
 β—¦ should return PublicKeyRing addresses: 
 βœ“ should return PublicKeyRing addresses (153ms)
 β—¦ should count generation indexes: 
 βœ“ should count generation indexes (178ms)
 β—¦ #merge index tests: 
 βœ“ #merge index tests (220ms)
 β—¦ #merge check tests: 
 βœ“ #merge check tests (109ms)
 β—¦ #merge pubkey tests: 
 βœ“ #merge pubkey tests (119ms)
 β—¦ #merge pubkey tests (case 2): 
 βœ“ #merge pubkey tests (case 2) (82ms)
 β—¦ #merge with nickname: 
 βœ“ #merge with nickname (59ms)
 β—¦ #toObj #fromObj with nickname: 
 βœ“ #toObj #fromObj with nickname (49ms)
 β—¦ #getRedeemScriptMap check tests: 
 βœ“ #getRedeemScriptMap check tests (148ms)
 Structure model
 β—¦ should have the correct constants: 
 βœ“ should have the correct constants 
 β—¦ should get the correct branches: 
 βœ“ should get the correct branches 
 TxProposals model
 β—¦ verify TXs: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ verify TXs (444ms)
 β—¦ should create an instance: 
 βœ“ should create an instance 
 β—¦ #getUsedUnspend: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #getUsedUnspend (348ms)
 β—¦ #merge with self: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge with self (315ms)
 β—¦ #merge, merge signatures case 1: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge, merge signatures case 1 (346ms)
 β—¦ #merge, merge signatures case 2: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge, merge signatures case 2 (454ms)
 β—¦ #merge, merge signatures case 3: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge, merge signatures case 3 (476ms)
 β—¦ #toObj #fromObj roundtrip: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #toObj #fromObj roundtrip (306ms)
 Wallet model
 β—¦ should fail to create an instance: 
 βœ“ should fail to create an instance 
 β—¦ should create an instance: 
 βœ“ should create an instance 
 β—¦ should provide some basic features: 
 βœ“ should provide some basic features (122ms)
 β—¦ #create, 1 sign: 
 βœ“ #create, 1 sign (218ms)
 β—¦ #addressIsOwn: 
 βœ“ #addressIsOwn (263ms)
 β—¦ #create. Signing with derivate keys: 
 βœ“ #create. Signing with derivate keys (495ms)
 β—¦ #fromObj #toObj round trip: 
 βœ“ #fromObj #toObj round trip (276ms)
 β—¦ #getSecret decodeSecret: 
 βœ“ #getSecret decodeSecret (210ms)
 β—¦ decodeSecret check: 
 βœ“ decodeSecret check 
 β—¦ call reconnect after interval: 
 βœ“ call reconnect after interval (1194ms)
 β—¦ handle network indexes correctly: 
 βœ“ handle network indexes correctly 
 β—¦ handle network pubKeyRings correctly: 
 βœ“ handle network pubKeyRings correctly (57ms)
 β—¦ handle new connections: 
 βœ“ handle new connections 
 β—¦ handle disconnections: 
 βœ“ handle disconnections 
 β—¦ should register new copayers correctly: 
 βœ“ should register new copayers correctly 
 β—¦ should register new peers correctly: 
 βœ“ should register new peers correctly 
 β—¦ should get balance: 
 βœ“ should get balance 
 β—¦ should create transaction: 
 βœ“ should create transaction (269ms)
 WalletFactory model
 β—¦ should create the factory: 
 βœ“ should create the factory 
 β—¦ #_checkRead should return false: 
 βœ“ #_checkRead should return false 
 β—¦ should be able to create wallets: 
 βœ“ should be able to create wallets 
 β—¦ should be able to get wallets: 
 βœ“ should be able to get wallets 
 β—¦ #fromObj #toObj round trip: 
 βœ“ #fromObj #toObj round trip (45ms)
 β—¦ BIP32 length problem: 
 βœ“ BIP32 length problem 
 Insight model
 β—¦ should create an instance: 
 βœ“ should create an instance 
 - should return array of unspent output
 - should return txid
 Performance tests
 PrivateKey
 β—¦ should optimize BIP32 private key gen time with cache: 
 βœ“ should optimize BIP32 private key gen time with cache (192ms)
 PublicKeyRing
 β—¦ should optimize BIP32 publickey gen time with cache for 2-of-3: 
 βœ“ should optimize BIP32 publickey gen time with cache for 2-of-3 (131ms)
 β—¦ should optimize BIP32 publickey gen time with cache for 3-of-5: 
 βœ“ should optimize BIP32 publickey gen time with cache for 3-of-5 (226ms)
 Storage/File
 β—¦ should exist: 
 βœ“ should exist 
 #load
 β—¦ should call fs.readFile: 
 βœ“ should call fs.readFile 
 #save
 β—¦ should call fs.writeFile: 
 βœ“ should call fs.writeFile 
 #_read
 β—¦ should return the value of a key: 
 βœ“ should return the value of a key 
 #_write
 β—¦ should save the value of a key and then run save: 
 βœ“ should save the value of a key and then run save 
 #getGlobal
 β—¦ should call storage._read: 
 βœ“ should call storage._read 
 #setGlobal
 β—¦ should store a global key: 
 βœ“ should store a global key 
 #removeGlobal
 β—¦ should remove a global key: 
 βœ“ should remove a global key 
 #_key
 β—¦ should merge the wallet id and item key: 
 βœ“ should merge the wallet id and item key 
 #get
 β—¦ should call getGlobal with the correct key: 
 βœ“ should call getGlobal with the correct key 
 #set
 β—¦ should call setGlobal with the correct key: 
 βœ“ should call setGlobal with the correct key 
 #remove
 β—¦ should call removeGlobal with the correct key: 
 βœ“ should call removeGlobal with the correct key 
 #setFromObj
 β—¦ should set this object for a wallet: 
 βœ“ should set this object for a wallet 
 #getEncryptedObj
 β—¦ should give an encrypted object: 
 βœ“ should give an encrypted object 
 #clearAll
 β—¦ should set data to {}: 
 βœ“ should set data to {} 
  89 passing (9s)
  2 pending
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.

 API
 β—¦ should have a command called "echo": 
 βœ“ should have a command called "echo" (87ms)
 β—¦ should have argTypes for every command: 
 βœ“ should have argTypes for every command 
 β—¦ should throw an error for all commands when called with wrong number of arguments: 
 βœ“ should throw an error for all commands when called with wrong number of arguments (46ms)
 β—¦ should have a callback in the arguments on every command: 
 βœ“ should have a callback in the arguments on every command 
 #echo
 β—¦ should echo a string: 
 βœ“ should echo a string (40ms)
 #echoNumber
 β—¦ should echo a number: 
 βœ“ should echo a number (45ms)
 #echoObject
 β—¦ should echo an object: 
 βœ“ should echo an object (38ms)
 #getArgTypes
 β—¦ should get the argTypes of echo: 
 βœ“ should get the argTypes of echo (57ms)
 #getCommands
 β—¦ should get all the commands: 
 βœ“ should get all the commands 
 #getWallets
 β—¦ should get the wallet ids: 
 βœ“ should get the wallet ids 
 #help
 β—¦ should call _cmd_getCommands: 
 βœ“ should call _cmd_getCommands 
 AddressIndex model
 β—¦ should create an instance (livenet): 
 βœ“ should create an instance (livenet) 
 β—¦ show be able to tostore and read: 
 βœ“ show be able to tostore and read 
 β—¦ should count generation indexes: 
 βœ“ should count generation indexes 
 β—¦ #merge tests: 
 βœ“ #merge tests 
 Passphrase model
 β—¦ should create an instance: 
 βœ“ should create an instance 
 PrivateKey model
 β—¦ should create an instance: 
 βœ“ should create an instance 
 β—¦ should derive priv keys: 
 βœ“ should derive priv keys (63ms)
 β—¦ should derive priv keys array: 
 βœ“ should derive priv keys array (47ms)
 β—¦ should calculate .id: 
 βœ“ should calculate .id 
 β—¦ fromObj toObj roundtrip: 
 βœ“ fromObj toObj roundtrip (43ms)
 PublicKeyRing model
 β—¦ should create an instance (livenet): 
 βœ“ should create an instance (livenet) 
 β—¦ should create an instance (testnet): 
 βœ“ should create an instance (testnet) 
 β—¦ should fail to generate shared pub keys wo extended key: 
 βœ“ should fail to generate shared pub keys wo extended key 
 β—¦ should add and check when adding shared pub keys: 
 βœ“ should add and check when adding shared pub keys (63ms)
 β—¦ show be able to tostore and read: 
 βœ“ show be able to tostore and read (221ms)
 β—¦ should generate some p2sh addresses: 
 βœ“ should generate some p2sh addresses (139ms)
 β—¦ should return PublicKeyRing addresses: 
 βœ“ should return PublicKeyRing addresses (167ms)
 β—¦ should count generation indexes: 
 βœ“ should count generation indexes (176ms)
 β—¦ #merge index tests: 
 βœ“ #merge index tests (187ms)
 β—¦ #merge check tests: 
 βœ“ #merge check tests (92ms)
 β—¦ #merge pubkey tests: 
 βœ“ #merge pubkey tests (102ms)
 β—¦ #merge pubkey tests (case 2): 
 βœ“ #merge pubkey tests (case 2) (83ms)
 β—¦ #merge with nickname: 
 βœ“ #merge with nickname (61ms)
 β—¦ #toObj #fromObj with nickname: 
 βœ“ #toObj #fromObj with nickname (49ms)
 β—¦ #getRedeemScriptMap check tests: 
 βœ“ #getRedeemScriptMap check tests (134ms)
 Structure model
 β—¦ should have the correct constants: 
 βœ“ should have the correct constants 
 β—¦ should get the correct branches: 
 βœ“ should get the correct branches 
 TxProposals model
 β—¦ verify TXs: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ verify TXs (408ms)
 β—¦ should create an instance: 
 βœ“ should create an instance 
 β—¦ #getUsedUnspend: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #getUsedUnspend (287ms)
 β—¦ #merge with self: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge with self (300ms)
 β—¦ #merge, merge signatures case 1: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge, merge signatures case 1 (374ms)
 β—¦ #merge, merge signatures case 2: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge, merge signatures case 2 (425ms)
 β—¦ #merge, merge signatures case 3: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge, merge signatures case 3 (414ms)
 β—¦ #toObj #fromObj roundtrip: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #toObj #fromObj roundtrip (275ms)
 Wallet model
 β—¦ should fail to create an instance: 
 βœ“ should fail to create an instance 
 β—¦ should create an instance: 
 βœ“ should create an instance 
 β—¦ should provide some basic features: 
 βœ“ should provide some basic features (125ms)
 β—¦ #create, 1 sign: 
 βœ“ #create, 1 sign (218ms)
 β—¦ #addressIsOwn: 
 βœ“ #addressIsOwn (282ms)
 β—¦ #create. Signing with derivate keys: 
 βœ“ #create. Signing with derivate keys (443ms)
 β—¦ #fromObj #toObj round trip: 
 βœ“ #fromObj #toObj round trip (231ms)
 β—¦ #getSecret decodeSecret: 
 βœ“ #getSecret decodeSecret (179ms)
 β—¦ decodeSecret check: 
 βœ“ decodeSecret check 
 β—¦ call reconnect after interval: 
 βœ“ call reconnect after interval (1200ms)
 β—¦ handle network indexes correctly: 
 βœ“ handle network indexes correctly 
 β—¦ handle network pubKeyRings correctly: 
 βœ“ handle network pubKeyRings correctly (54ms)
 β—¦ handle new connections: 
 βœ“ handle new connections 
 β—¦ handle disconnections: 
 βœ“ handle disconnections 
 β—¦ should register new copayers correctly: 
 βœ“ should register new copayers correctly 
 β—¦ should register new peers correctly: 
 βœ“ should register new peers correctly 
 β—¦ should get balance: 
 βœ“ should get balance 
 β—¦ should create transaction: 
 βœ“ should create transaction (259ms)
 WalletFactory model
 β—¦ should create the factory: 
 βœ“ should create the factory 
 β—¦ #_checkRead should return false: 
 βœ“ #_checkRead should return false 
 β—¦ should be able to create wallets: 
 βœ“ should be able to create wallets 
 β—¦ should be able to get wallets: 
 βœ“ should be able to get wallets 
 β—¦ #fromObj #toObj round trip: 
 βœ“ #fromObj #toObj round trip (40ms)
 β—¦ BIP32 length problem: 
 βœ“ BIP32 length problem 
 Insight model
 β—¦ should create an instance: 
 βœ“ should create an instance 
 - should return array of unspent output
 - should return txid
 Performance tests
 PrivateKey
 β—¦ should optimize BIP32 private key gen time with cache: 
 βœ“ should optimize BIP32 private key gen time with cache (197ms)
 PublicKeyRing
 β—¦ should optimize BIP32 publickey gen time with cache for 2-of-3: 
 βœ“ should optimize BIP32 publickey gen time with cache for 2-of-3 (137ms)
 β—¦ should optimize BIP32 publickey gen time with cache for 3-of-5: 
 βœ“ should optimize BIP32 publickey gen time with cache for 3-of-5 (221ms)
 Storage/File
 β—¦ should exist: 
 βœ“ should exist 
 #load
 β—¦ should call fs.readFile: 
 βœ“ should call fs.readFile 
 #save
 β—¦ should call fs.writeFile: 
 βœ“ should call fs.writeFile 
 #_read
 β—¦ should return the value of a key: 
 βœ“ should return the value of a key 
 #_write
 β—¦ should save the value of a key and then run save: 
 βœ“ should save the value of a key and then run save 
 #getGlobal
 β—¦ should call storage._read: 
 βœ“ should call storage._read 
 #setGlobal
 β—¦ should store a global key: 
 βœ“ should store a global key 
 #removeGlobal
 β—¦ should remove a global key: 
 βœ“ should remove a global key 
 #_key
 β—¦ should merge the wallet id and item key: 
 βœ“ should merge the wallet id and item key 
 #get
 β—¦ should call getGlobal with the correct key: 
 βœ“ should call getGlobal with the correct key 
 #set
 β—¦ should call setGlobal with the correct key: 
 βœ“ should call setGlobal with the correct key 
 #remove
 β—¦ should call removeGlobal with the correct key: 
 βœ“ should call removeGlobal with the correct key 
 #setFromObj
 β—¦ should set this object for a wallet: 
 βœ“ should set this object for a wallet 
 #getEncryptedObj
 β—¦ should give an encrypted object: 
 βœ“ should give an encrypted object 
 #clearAll
 β—¦ should set data to {}: 
 βœ“ should set data to {} 
  89 passing (8s)
  2 pending
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.

 API
 β—¦ should have a command called "echo": 
 βœ“ should have a command called "echo" (66ms)
 β—¦ should have argTypes for every command: 
 βœ“ should have argTypes for every command 
 β—¦ should throw an error for all commands when called with wrong number of arguments: 
 βœ“ should throw an error for all commands when called with wrong number of arguments 
 β—¦ should have a callback in the arguments on every command: 
 βœ“ should have a callback in the arguments on every command 
 #echo
 β—¦ should echo a string: 
 βœ“ should echo a string 
 #echoNumber
 β—¦ should echo a number: 
 βœ“ should echo a number (39ms)
 #echoObject
 β—¦ should echo an object: 
 βœ“ should echo an object 
 #getArgTypes
 β—¦ should get the argTypes of echo: 
 βœ“ should get the argTypes of echo (43ms)
 #getCommands
 β—¦ should get all the commands: 
 βœ“ should get all the commands 
 #getWallets
 β—¦ should get the wallet ids: 
 βœ“ should get the wallet ids 
 #help
 β—¦ should call _cmd_getCommands: 
 βœ“ should call _cmd_getCommands 
 AddressIndex model
 β—¦ should create an instance (livenet): 
 βœ“ should create an instance (livenet) 
 β—¦ show be able to tostore and read: 
 βœ“ show be able to tostore and read 
 β—¦ should count generation indexes: 
 βœ“ should count generation indexes 
 β—¦ #merge tests: 
 βœ“ #merge tests 
 Passphrase model
 β—¦ should create an instance: 
 βœ“ should create an instance 
 PrivateKey model
 β—¦ should create an instance: 
 βœ“ should create an instance 
 β—¦ should derive priv keys: 
 βœ“ should derive priv keys (70ms)
 β—¦ should derive priv keys array: 
 βœ“ should derive priv keys array (41ms)
 β—¦ should calculate .id: 
 βœ“ should calculate .id 
 β—¦ fromObj toObj roundtrip: 
 βœ“ fromObj toObj roundtrip (46ms)
 PublicKeyRing model
 β—¦ should create an instance (livenet): 
 βœ“ should create an instance (livenet) 
 β—¦ should create an instance (testnet): 
 βœ“ should create an instance (testnet) 
 β—¦ should fail to generate shared pub keys wo extended key: 
 βœ“ should fail to generate shared pub keys wo extended key 
 β—¦ should add and check when adding shared pub keys: 
 βœ“ should add and check when adding shared pub keys (56ms)
 β—¦ show be able to tostore and read: 
 βœ“ show be able to tostore and read (201ms)
 β—¦ should generate some p2sh addresses: 
 βœ“ should generate some p2sh addresses (137ms)
 β—¦ should return PublicKeyRing addresses: 
 βœ“ should return PublicKeyRing addresses (136ms)
 β—¦ should count generation indexes: 
 βœ“ should count generation indexes (183ms)
 β—¦ #merge index tests: 
 βœ“ #merge index tests (184ms)
 β—¦ #merge check tests: 
 βœ“ #merge check tests (92ms)
 β—¦ #merge pubkey tests: 
 βœ“ #merge pubkey tests (106ms)
 β—¦ #merge pubkey tests (case 2): 
 βœ“ #merge pubkey tests (case 2) (83ms)
 β—¦ #merge with nickname: 
 βœ“ #merge with nickname (57ms)
 β—¦ #toObj #fromObj with nickname: 
 βœ“ #toObj #fromObj with nickname (50ms)
 β—¦ #getRedeemScriptMap check tests: 
 βœ“ #getRedeemScriptMap check tests (155ms)
 Structure model
 β—¦ should have the correct constants: 
 βœ“ should have the correct constants 
 β—¦ should get the correct branches: 
 βœ“ should get the correct branches 
 TxProposals model
 β—¦ verify TXs: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ verify TXs (389ms)
 β—¦ should create an instance: 
 βœ“ should create an instance 
 β—¦ #getUsedUnspend: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #getUsedUnspend (278ms)
 β—¦ #merge with self: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge with self (271ms)
 β—¦ #merge, merge signatures case 1: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge, merge signatures case 1 (311ms)
 β—¦ #merge, merge signatures case 2: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge, merge signatures case 2 (395ms)
 β—¦ #merge, merge signatures case 3: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge, merge signatures case 3 (415ms)
 β—¦ #toObj #fromObj roundtrip: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #toObj #fromObj roundtrip (261ms)
 Wallet model
 β—¦ should fail to create an instance: 
 βœ“ should fail to create an instance 
 β—¦ should create an instance: 
 βœ“ should create an instance 
 β—¦ should provide some basic features: 
 βœ“ should provide some basic features (127ms)
 β—¦ #create, 1 sign: 
 βœ“ #create, 1 sign (231ms)
 β—¦ #addressIsOwn: 
 βœ“ #addressIsOwn (275ms)
 β—¦ #create. Signing with derivate keys: 
 βœ“ #create. Signing with derivate keys (476ms)
 β—¦ #fromObj #toObj round trip: 
 βœ“ #fromObj #toObj round trip (277ms)
 β—¦ #getSecret decodeSecret: 
 βœ“ #getSecret decodeSecret (179ms)
 β—¦ decodeSecret check: 
 βœ“ decodeSecret check 
 β—¦ call reconnect after interval: 
 βœ“ call reconnect after interval (1191ms)
 β—¦ handle network indexes correctly: 
 βœ“ handle network indexes correctly 
 β—¦ handle network pubKeyRings correctly: 
 βœ“ handle network pubKeyRings correctly (57ms)
 β—¦ handle new connections: 
 βœ“ handle new connections 
 β—¦ handle disconnections: 
 βœ“ handle disconnections 
 β—¦ should register new copayers correctly: 
 βœ“ should register new copayers correctly 
 β—¦ should register new peers correctly: 
 βœ“ should register new peers correctly 
 β—¦ should get balance: 
 βœ“ should get balance 
 β—¦ should create transaction: 
 βœ“ should create transaction (265ms)
 WalletFactory model
 β—¦ should create the factory: 
 βœ“ should create the factory 
 β—¦ #_checkRead should return false: 
 βœ“ #_checkRead should return false 
 β—¦ should be able to create wallets: 
 βœ“ should be able to create wallets 
 β—¦ should be able to get wallets: 
 βœ“ should be able to get wallets 
 β—¦ #fromObj #toObj round trip: 
 βœ“ #fromObj #toObj round trip (39ms)
 β—¦ BIP32 length problem: 
 βœ“ BIP32 length problem 
 Insight model
 β—¦ should create an instance: 
 βœ“ should create an instance 
 - should return array of unspent output
 - should return txid
 Performance tests
 PrivateKey
 β—¦ should optimize BIP32 private key gen time with cache: 
 βœ“ should optimize BIP32 private key gen time with cache (192ms)
 PublicKeyRing
 β—¦ should optimize BIP32 publickey gen time with cache for 2-of-3: 
 βœ“ should optimize BIP32 publickey gen time with cache for 2-of-3 (136ms)
 β—¦ should optimize BIP32 publickey gen time with cache for 3-of-5: 
 βœ“ should optimize BIP32 publickey gen time with cache for 3-of-5 (218ms)
 Storage/File
 β—¦ should exist: 
 βœ“ should exist 
 #load
 β—¦ should call fs.readFile: 
 βœ“ should call fs.readFile 
 #save
 β—¦ should call fs.writeFile: 
 βœ“ should call fs.writeFile 
 #_read
 β—¦ should return the value of a key: 
 βœ“ should return the value of a key 
 #_write
 β—¦ should save the value of a key and then run save: 
 βœ“ should save the value of a key and then run save 
 #getGlobal
 β—¦ should call storage._read: 
 βœ“ should call storage._read 
 #setGlobal
 β—¦ should store a global key: 
 βœ“ should store a global key 
 #removeGlobal
 β—¦ should remove a global key: 
 βœ“ should remove a global key 
 #_key
 β—¦ should merge the wallet id and item key: 
 βœ“ should merge the wallet id and item key 
 #get
 β—¦ should call getGlobal with the correct key: 
 βœ“ should call getGlobal with the correct key 
 #set
 β—¦ should call setGlobal with the correct key: 
 βœ“ should call setGlobal with the correct key 
 #remove
 β—¦ should call removeGlobal with the correct key: 
 βœ“ should call removeGlobal with the correct key 
 #setFromObj
 β—¦ should set this object for a wallet: 
 βœ“ should set this object for a wallet 
 #getEncryptedObj
 β—¦ should give an encrypted object: 
 βœ“ should give an encrypted object 
 #clearAll
 β—¦ should set data to {}: 
 βœ“ should set data to {} 
  89 passing (8s)
  2 pending
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.

 API
 β—¦ should have a command called "echo": 
 βœ“ should have a command called "echo" (65ms)
 β—¦ should have argTypes for every command: 
 βœ“ should have argTypes for every command 
 β—¦ should throw an error for all commands when called with wrong number of arguments: 
 βœ“ should throw an error for all commands when called with wrong number of arguments 
 β—¦ should have a callback in the arguments on every command: 
 βœ“ should have a callback in the arguments on every command 
 #echo
 β—¦ should echo a string: 
 βœ“ should echo a string 
 #echoNumber
 β—¦ should echo a number: 
 βœ“ should echo a number (41ms)
 #echoObject
 β—¦ should echo an object: 
 βœ“ should echo an object 
 #getArgTypes
 β—¦ should get the argTypes of echo: 
 βœ“ should get the argTypes of echo (46ms)
 #getCommands
 β—¦ should get all the commands: 
 βœ“ should get all the commands 
 #getWallets
 β—¦ should get the wallet ids: 
 βœ“ should get the wallet ids 
 #help
 β—¦ should call _cmd_getCommands: 
 βœ“ should call _cmd_getCommands 
 AddressIndex model
 β—¦ should create an instance (livenet): 
 βœ“ should create an instance (livenet) 
 β—¦ show be able to tostore and read: 
 βœ“ show be able to tostore and read 
 β—¦ should count generation indexes: 
 βœ“ should count generation indexes 
 β—¦ #merge tests: 
 βœ“ #merge tests 
 Passphrase model
 β—¦ should create an instance: 
 βœ“ should create an instance 
 PrivateKey model
 β—¦ should create an instance: 
 βœ“ should create an instance 
 β—¦ should derive priv keys: 
 βœ“ should derive priv keys (65ms)
 β—¦ should derive priv keys array: 
 βœ“ should derive priv keys array (43ms)
 β—¦ should calculate .id: 
 βœ“ should calculate .id 
 β—¦ fromObj toObj roundtrip: 
 βœ“ fromObj toObj roundtrip (43ms)
 PublicKeyRing model
 β—¦ should create an instance (livenet): 
 βœ“ should create an instance (livenet) 
 β—¦ should create an instance (testnet): 
 βœ“ should create an instance (testnet) 
 β—¦ should fail to generate shared pub keys wo extended key: 
 βœ“ should fail to generate shared pub keys wo extended key 
 β—¦ should add and check when adding shared pub keys: 
 βœ“ should add and check when adding shared pub keys (60ms)
 β—¦ show be able to tostore and read: 
 βœ“ show be able to tostore and read (199ms)
 β—¦ should generate some p2sh addresses: 
 βœ“ should generate some p2sh addresses (141ms)
 β—¦ should return PublicKeyRing addresses: 
 βœ“ should return PublicKeyRing addresses (137ms)
 β—¦ should count generation indexes: 
 βœ“ should count generation indexes (179ms)
 β—¦ #merge index tests: 
 βœ“ #merge index tests (183ms)
 β—¦ #merge check tests: 
 βœ“ #merge check tests (89ms)
 β—¦ #merge pubkey tests: 
 βœ“ #merge pubkey tests (107ms)
 β—¦ #merge pubkey tests (case 2): 
 βœ“ #merge pubkey tests (case 2) (81ms)
 β—¦ #merge with nickname: 
 βœ“ #merge with nickname (59ms)
 β—¦ #toObj #fromObj with nickname: 
 βœ“ #toObj #fromObj with nickname (49ms)
 β—¦ #getRedeemScriptMap check tests: 
 βœ“ #getRedeemScriptMap check tests (151ms)
 Structure model
 β—¦ should have the correct constants: 
 βœ“ should have the correct constants 
 β—¦ should get the correct branches: 
 βœ“ should get the correct branches 
 TxProposals model
 β—¦ verify TXs: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ verify TXs (376ms)
 β—¦ should create an instance: 
 βœ“ should create an instance 
 β—¦ #getUsedUnspend: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #getUsedUnspend (281ms)
 β—¦ #merge with self: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge with self (287ms)
 β—¦ #merge, merge signatures case 1: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge, merge signatures case 1 (320ms)
 β—¦ #merge, merge signatures case 2: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge, merge signatures case 2 (425ms)
 β—¦ #merge, merge signatures case 3: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge, merge signatures case 3 (414ms)
 β—¦ #toObj #fromObj roundtrip: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #toObj #fromObj roundtrip (268ms)
 Wallet model
 β—¦ should fail to create an instance: 
 βœ“ should fail to create an instance 
 β—¦ should create an instance: 
 βœ“ should create an instance 
 β—¦ should provide some basic features: 
 βœ“ should provide some basic features (127ms)
 β—¦ #create, 1 sign: 
 βœ“ #create, 1 sign (223ms)
 β—¦ #addressIsOwn: 
 βœ“ #addressIsOwn (241ms)
 β—¦ #create. Signing with derivate keys: 
 βœ“ #create. Signing with derivate keys (459ms)
 β—¦ #fromObj #toObj round trip: 
 βœ“ #fromObj #toObj round trip (238ms)
 β—¦ #getSecret decodeSecret: 
 βœ“ #getSecret decodeSecret (175ms)
 β—¦ decodeSecret check: 
 βœ“ decodeSecret check 
 β—¦ call reconnect after interval: 
 βœ“ call reconnect after interval (1203ms)
 β—¦ handle network indexes correctly: 
 βœ“ handle network indexes correctly 
 β—¦ handle network pubKeyRings correctly: 
 βœ“ handle network pubKeyRings correctly (54ms)
 β—¦ handle new connections: 
 βœ“ handle new connections 
 β—¦ handle disconnections: 
 βœ“ handle disconnections 
 β—¦ should register new copayers correctly: 
 βœ“ should register new copayers correctly 
 β—¦ should register new peers correctly: 
 βœ“ should register new peers correctly 
 β—¦ should get balance: 
 βœ“ should get balance 
 β—¦ should create transaction: 
 βœ“ should create transaction (267ms)
 WalletFactory model
 β—¦ should create the factory: 
 βœ“ should create the factory 
 β—¦ #_checkRead should return false: 
 βœ“ #_checkRead should return false 
 β—¦ should be able to create wallets: 
 βœ“ should be able to create wallets 
 β—¦ should be able to get wallets: 
 βœ“ should be able to get wallets 
 β—¦ #fromObj #toObj round trip: 
 βœ“ #fromObj #toObj round trip (39ms)
 β—¦ BIP32 length problem: 
 βœ“ BIP32 length problem 
 Insight model
 β—¦ should create an instance: 
 βœ“ should create an instance 
 - should return array of unspent output
 - should return txid
 Performance tests
 PrivateKey
 β—¦ should optimize BIP32 private key gen time with cache: 
 βœ“ should optimize BIP32 private key gen time with cache (199ms)
 PublicKeyRing
 β—¦ should optimize BIP32 publickey gen time with cache for 2-of-3: 
 βœ“ should optimize BIP32 publickey gen time with cache for 2-of-3 (133ms)
 β—¦ should optimize BIP32 publickey gen time with cache for 3-of-5: 
 βœ“ should optimize BIP32 publickey gen time with cache for 3-of-5 (223ms)
 Storage/File
 β—¦ should exist: 
 βœ“ should exist 
 #load
 β—¦ should call fs.readFile: 
 βœ“ should call fs.readFile 
 #save
 β—¦ should call fs.writeFile: 
 βœ“ should call fs.writeFile 
 #_read
 β—¦ should return the value of a key: 
 βœ“ should return the value of a key 
 #_write
 β—¦ should save the value of a key and then run save: 
 βœ“ should save the value of a key and then run save 
 #getGlobal
 β—¦ should call storage._read: 
 βœ“ should call storage._read 
 #setGlobal
 β—¦ should store a global key: 
 βœ“ should store a global key 
 #removeGlobal
 β—¦ should remove a global key: 
 βœ“ should remove a global key 
 #_key
 β—¦ should merge the wallet id and item key: 
 βœ“ should merge the wallet id and item key 
 #get
 β—¦ should call getGlobal with the correct key: 
 βœ“ should call getGlobal with the correct key 
 #set
 β—¦ should call setGlobal with the correct key: 
 βœ“ should call setGlobal with the correct key 
 #remove
 β—¦ should call removeGlobal with the correct key: 
 βœ“ should call removeGlobal with the correct key 
 #setFromObj
 β—¦ should set this object for a wallet: 
 βœ“ should set this object for a wallet 
 #getEncryptedObj
 β—¦ should give an encrypted object: 
 βœ“ should give an encrypted object 
 #clearAll
 β—¦ should set data to {}: 
 βœ“ should set data to {} 
  89 passing (8s)
  2 pending
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.

 API
 β—¦ should have a command called "echo": 
 βœ“ should have a command called "echo" (66ms)
 β—¦ should have argTypes for every command: 
 βœ“ should have argTypes for every command 
 β—¦ should throw an error for all commands when called with wrong number of arguments: 
 βœ“ should throw an error for all commands when called with wrong number of arguments 
 β—¦ should have a callback in the arguments on every command: 
 βœ“ should have a callback in the arguments on every command 
 #echo
 β—¦ should echo a string: 
 βœ“ should echo a string 
 #echoNumber
 β—¦ should echo a number: 
 βœ“ should echo a number (38ms)
 #echoObject
 β—¦ should echo an object: 
 βœ“ should echo an object 
 #getArgTypes
 β—¦ should get the argTypes of echo: 
 βœ“ should get the argTypes of echo (41ms)
 #getCommands
 β—¦ should get all the commands: 
 βœ“ should get all the commands 
 #getWallets
 β—¦ should get the wallet ids: 
 βœ“ should get the wallet ids 
 #help
 β—¦ should call _cmd_getCommands: 
 βœ“ should call _cmd_getCommands 
 AddressIndex model
 β—¦ should create an instance (livenet): 
 βœ“ should create an instance (livenet) 
 β—¦ show be able to tostore and read: 
 βœ“ show be able to tostore and read 
 β—¦ should count generation indexes: 
 βœ“ should count generation indexes 
 β—¦ #merge tests: 
 βœ“ #merge tests 
 Passphrase model
 β—¦ should create an instance: 
 βœ“ should create an instance 
 PrivateKey model
 β—¦ should create an instance: 
 βœ“ should create an instance 
 β—¦ should derive priv keys: 
 βœ“ should derive priv keys (68ms)
 β—¦ should derive priv keys array: 
 βœ“ should derive priv keys array (41ms)
 β—¦ should calculate .id: 
 βœ“ should calculate .id 
 β—¦ fromObj toObj roundtrip: 
 βœ“ fromObj toObj roundtrip (45ms)
 PublicKeyRing model
 β—¦ should create an instance (livenet): 
 βœ“ should create an instance (livenet) 
 β—¦ should create an instance (testnet): 
 βœ“ should create an instance (testnet) 
 β—¦ should fail to generate shared pub keys wo extended key: 
 βœ“ should fail to generate shared pub keys wo extended key 
 β—¦ should add and check when adding shared pub keys: 
 βœ“ should add and check when adding shared pub keys (55ms)
 β—¦ show be able to tostore and read: 
 βœ“ show be able to tostore and read (198ms)
 β—¦ should generate some p2sh addresses: 
 βœ“ should generate some p2sh addresses (136ms)
 β—¦ should return PublicKeyRing addresses: 
 βœ“ should return PublicKeyRing addresses (141ms)
 β—¦ should count generation indexes: 
 βœ“ should count generation indexes (177ms)
 β—¦ #merge index tests: 
 βœ“ #merge index tests (188ms)
 β—¦ #merge check tests: 
 βœ“ #merge check tests (90ms)
 β—¦ #merge pubkey tests: 
 βœ“ #merge pubkey tests (105ms)
 β—¦ #merge pubkey tests (case 2): 
 βœ“ #merge pubkey tests (case 2) (81ms)
 β—¦ #merge with nickname: 
 βœ“ #merge with nickname (60ms)
 β—¦ #toObj #fromObj with nickname: 
 βœ“ #toObj #fromObj with nickname (56ms)
 β—¦ #getRedeemScriptMap check tests: 
 βœ“ #getRedeemScriptMap check tests (150ms)
 Structure model
 β—¦ should have the correct constants: 
 βœ“ should have the correct constants 
 β—¦ should get the correct branches: 
 βœ“ should get the correct branches 
 TxProposals model
 β—¦ verify TXs: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ verify TXs (395ms)
 β—¦ should create an instance: 
 βœ“ should create an instance 
 β—¦ #getUsedUnspend: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #getUsedUnspend (284ms)
 β—¦ #merge with self: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge with self (276ms)
 β—¦ #merge, merge signatures case 1: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge, merge signatures case 1 (307ms)
 β—¦ #merge, merge signatures case 2: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge, merge signatures case 2 (395ms)
 β—¦ #merge, merge signatures case 3: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge, merge signatures case 3 (409ms)
 β—¦ #toObj #fromObj roundtrip: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #toObj #fromObj roundtrip (261ms)
 Wallet model
 β—¦ should fail to create an instance: 
 βœ“ should fail to create an instance 
 β—¦ should create an instance: 
 βœ“ should create an instance 
 β—¦ should provide some basic features: 
 βœ“ should provide some basic features (124ms)
 β—¦ #create, 1 sign: 
 βœ“ #create, 1 sign (216ms)
 β—¦ #addressIsOwn: 
 βœ“ #addressIsOwn (266ms)
 β—¦ #create. Signing with derivate keys: 
 βœ“ #create. Signing with derivate keys (445ms)
 β—¦ #fromObj #toObj round trip: 
 βœ“ #fromObj #toObj round trip (236ms)
 β—¦ #getSecret decodeSecret: 
 βœ“ #getSecret decodeSecret (177ms)
 β—¦ decodeSecret check: 
 βœ“ decodeSecret check 
 β—¦ call reconnect after interval: 
 βœ“ call reconnect after interval (1196ms)
 β—¦ handle network indexes correctly: 
 βœ“ handle network indexes correctly 
 β—¦ handle network pubKeyRings correctly: 
 βœ“ handle network pubKeyRings correctly (60ms)
 β—¦ handle new connections: 
 βœ“ handle new connections 
 β—¦ handle disconnections: 
 βœ“ handle disconnections 
 β—¦ should register new copayers correctly: 
 βœ“ should register new copayers correctly 
 β—¦ should register new peers correctly: 
 βœ“ should register new peers correctly 
 β—¦ should get balance: 
 βœ“ should get balance 
 β—¦ should create transaction: 
 βœ“ should create transaction (276ms)
 WalletFactory model
 β—¦ should create the factory: 
 βœ“ should create the factory 
 β—¦ #_checkRead should return false: 
 βœ“ #_checkRead should return false 
 β—¦ should be able to create wallets: 
 βœ“ should be able to create wallets 
 β—¦ should be able to get wallets: 
 βœ“ should be able to get wallets 
 β—¦ #fromObj #toObj round trip: 
 βœ“ #fromObj #toObj round trip (48ms)
 β—¦ BIP32 length problem: 
 βœ“ BIP32 length problem 
 Insight model
 β—¦ should create an instance: 
 βœ“ should create an instance 
 - should return array of unspent output
 - should return txid
 Performance tests
 PrivateKey
 β—¦ should optimize BIP32 private key gen time with cache: 
 βœ“ should optimize BIP32 private key gen time with cache (204ms)
 PublicKeyRing
 β—¦ should optimize BIP32 publickey gen time with cache for 2-of-3: 
 βœ“ should optimize BIP32 publickey gen time with cache for 2-of-3 (126ms)
 β—¦ should optimize BIP32 publickey gen time with cache for 3-of-5: 
 βœ“ should optimize BIP32 publickey gen time with cache for 3-of-5 (213ms)
 Storage/File
 β—¦ should exist: 
 βœ“ should exist 
 #load
 β—¦ should call fs.readFile: 
 βœ“ should call fs.readFile 
 #save
 β—¦ should call fs.writeFile: 
 βœ“ should call fs.writeFile 
 #_read
 β—¦ should return the value of a key: 
 βœ“ should return the value of a key 
 #_write
 β—¦ should save the value of a key and then run save: 
 βœ“ should save the value of a key and then run save 
 #getGlobal
 β—¦ should call storage._read: 
 βœ“ should call storage._read 
 #setGlobal
 β—¦ should store a global key: 
 βœ“ should store a global key 
 #removeGlobal
 β—¦ should remove a global key: 
 βœ“ should remove a global key 
 #_key
 β—¦ should merge the wallet id and item key: 
 βœ“ should merge the wallet id and item key 
 #get
 β—¦ should call getGlobal with the correct key: 
 βœ“ should call getGlobal with the correct key 
 #set
 β—¦ should call setGlobal with the correct key: 
 βœ“ should call setGlobal with the correct key 
 #remove
 β—¦ should call removeGlobal with the correct key: 
 βœ“ should call removeGlobal with the correct key 
 #setFromObj
 β—¦ should set this object for a wallet: 
 βœ“ should set this object for a wallet 
 #getEncryptedObj
 β—¦ should give an encrypted object: 
 βœ“ should give an encrypted object 
 #clearAll
 β—¦ should set data to {}: 
 βœ“ should set data to {} 
  89 passing (8s)
  2 pending
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.

 API
 β—¦ should have a command called "echo": 
 βœ“ should have a command called "echo" (64ms)
 β—¦ should have argTypes for every command: 
 βœ“ should have argTypes for every command 
 β—¦ should throw an error for all commands when called with wrong number of arguments: 
 βœ“ should throw an error for all commands when called with wrong number of arguments 
 β—¦ should have a callback in the arguments on every command: 
 βœ“ should have a callback in the arguments on every command 
 #echo
 β—¦ should echo a string: 
 βœ“ should echo a string 
 #echoNumber
 β—¦ should echo a number: 
 βœ“ should echo a number 
 #echoObject
 β—¦ should echo an object: 
 βœ“ should echo an object 
 #getArgTypes
 β—¦ should get the argTypes of echo: 
 βœ“ should get the argTypes of echo (65ms)
 #getCommands
 β—¦ should get all the commands: 
 βœ“ should get all the commands 
 #getWallets
 β—¦ should get the wallet ids: 
 βœ“ should get the wallet ids 
 #help
 β—¦ should call _cmd_getCommands: 
 βœ“ should call _cmd_getCommands (47ms)
 AddressIndex model
 β—¦ should create an instance (livenet): 
 βœ“ should create an instance (livenet) 
 β—¦ show be able to tostore and read: 
 βœ“ show be able to tostore and read 
 β—¦ should count generation indexes: 
 βœ“ should count generation indexes 
 β—¦ #merge tests: 
 βœ“ #merge tests 
 Passphrase model
 β—¦ should create an instance: 
 βœ“ should create an instance 
 PrivateKey model
 β—¦ should create an instance: 
 βœ“ should create an instance 
 β—¦ should derive priv keys: 
 βœ“ should derive priv keys (66ms)
 β—¦ should derive priv keys array: 
 βœ“ should derive priv keys array (41ms)
 β—¦ should calculate .id: 
 βœ“ should calculate .id 
 β—¦ fromObj toObj roundtrip: 
 βœ“ fromObj toObj roundtrip (44ms)
 PublicKeyRing model
 β—¦ should create an instance (livenet): 
 βœ“ should create an instance (livenet) 
 β—¦ should create an instance (testnet): 
 βœ“ should create an instance (testnet) 
 β—¦ should fail to generate shared pub keys wo extended key: 
 βœ“ should fail to generate shared pub keys wo extended key 
 β—¦ should add and check when adding shared pub keys: 
 βœ“ should add and check when adding shared pub keys (56ms)
 β—¦ show be able to tostore and read: 
 βœ“ show be able to tostore and read (198ms)
 β—¦ should generate some p2sh addresses: 
 βœ“ should generate some p2sh addresses (143ms)
 β—¦ should return PublicKeyRing addresses: 
 βœ“ should return PublicKeyRing addresses (141ms)
 β—¦ should count generation indexes: 
 βœ“ should count generation indexes (179ms)
 β—¦ #merge index tests: 
 βœ“ #merge index tests (189ms)
 β—¦ #merge check tests: 
 βœ“ #merge check tests (91ms)
 β—¦ #merge pubkey tests: 
 βœ“ #merge pubkey tests (108ms)
 β—¦ #merge pubkey tests (case 2): 
 βœ“ #merge pubkey tests (case 2) (84ms)
 β—¦ #merge with nickname: 
 βœ“ #merge with nickname (58ms)
 β—¦ #toObj #fromObj with nickname: 
 βœ“ #toObj #fromObj with nickname (54ms)
 β—¦ #getRedeemScriptMap check tests: 
 βœ“ #getRedeemScriptMap check tests (165ms)
 Structure model
 β—¦ should have the correct constants: 
 βœ“ should have the correct constants 
 β—¦ should get the correct branches: 
 βœ“ should get the correct branches 
 TxProposals model
 β—¦ verify TXs: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ verify TXs (392ms)
 β—¦ should create an instance: 
 βœ“ should create an instance 
 β—¦ #getUsedUnspend: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #getUsedUnspend (285ms)
 β—¦ #merge with self: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge with self (273ms)
 β—¦ #merge, merge signatures case 1: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge, merge signatures case 1 (310ms)
 β—¦ #merge, merge signatures case 2: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge, merge signatures case 2 (402ms)
 β—¦ #merge, merge signatures case 3: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge, merge signatures case 3 (415ms)
 β—¦ #toObj #fromObj roundtrip: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #toObj #fromObj roundtrip (277ms)
 Wallet model
 β—¦ should fail to create an instance: 
 βœ“ should fail to create an instance 
 β—¦ should create an instance: 
 βœ“ should create an instance 
 β—¦ should provide some basic features: 
 βœ“ should provide some basic features (119ms)
 β—¦ #create, 1 sign: 
 βœ“ #create, 1 sign (232ms)
 β—¦ #addressIsOwn: 
 βœ“ #addressIsOwn (269ms)
 β—¦ #create. Signing with derivate keys: 
 βœ“ #create. Signing with derivate keys (432ms)
 β—¦ #fromObj #toObj round trip: 
 βœ“ #fromObj #toObj round trip (254ms)
 β—¦ #getSecret decodeSecret: 
 βœ“ #getSecret decodeSecret (181ms)
 β—¦ decodeSecret check: 
 βœ“ decodeSecret check 
 β—¦ call reconnect after interval: 
 βœ“ call reconnect after interval (1200ms)
 β—¦ handle network indexes correctly: 
 βœ“ handle network indexes correctly 
 β—¦ handle network pubKeyRings correctly: 
 βœ“ handle network pubKeyRings correctly (57ms)
 β—¦ handle new connections: 
 βœ“ handle new connections 
 β—¦ handle disconnections: 
 βœ“ handle disconnections 
 β—¦ should register new copayers correctly: 
 βœ“ should register new copayers correctly 
 β—¦ should register new peers correctly: 
 βœ“ should register new peers correctly 
 β—¦ should get balance: 
 βœ“ should get balance 
 β—¦ should create transaction: 
 βœ“ should create transaction (274ms)
 WalletFactory model
 β—¦ should create the factory: 
 βœ“ should create the factory 
 β—¦ #_checkRead should return false: 
 βœ“ #_checkRead should return false 
 β—¦ should be able to create wallets: 
 βœ“ should be able to create wallets 
 β—¦ should be able to get wallets: 
 βœ“ should be able to get wallets 
 β—¦ #fromObj #toObj round trip: 
 βœ“ #fromObj #toObj round trip (42ms)
 β—¦ BIP32 length problem: 
 βœ“ BIP32 length problem 
 Insight model
 β—¦ should create an instance: 
 βœ“ should create an instance 
 - should return array of unspent output
 - should return txid
 Performance tests
 PrivateKey
 β—¦ should optimize BIP32 private key gen time with cache: 
 βœ“ should optimize BIP32 private key gen time with cache (207ms)
 PublicKeyRing
 β—¦ should optimize BIP32 publickey gen time with cache for 2-of-3: 
 βœ“ should optimize BIP32 publickey gen time with cache for 2-of-3 (155ms)
 β—¦ should optimize BIP32 publickey gen time with cache for 3-of-5: 
 βœ“ should optimize BIP32 publickey gen time with cache for 3-of-5 (222ms)
 Storage/File
 β—¦ should exist: 
 βœ“ should exist 
 #load
 β—¦ should call fs.readFile: 
 βœ“ should call fs.readFile 
 #save
 β—¦ should call fs.writeFile: 
 βœ“ should call fs.writeFile 
 #_read
 β—¦ should return the value of a key: 
 βœ“ should return the value of a key 
 #_write
 β—¦ should save the value of a key and then run save: 
 βœ“ should save the value of a key and then run save 
 #getGlobal
 β—¦ should call storage._read: 
 βœ“ should call storage._read 
 #setGlobal
 β—¦ should store a global key: 
 βœ“ should store a global key 
 #removeGlobal
 β—¦ should remove a global key: 
 βœ“ should remove a global key 
 #_key
 β—¦ should merge the wallet id and item key: 
 βœ“ should merge the wallet id and item key 
 #get
 β—¦ should call getGlobal with the correct key: 
 βœ“ should call getGlobal with the correct key 
 #set
 β—¦ should call setGlobal with the correct key: 
 βœ“ should call setGlobal with the correct key 
 #remove
 β—¦ should call removeGlobal with the correct key: 
 βœ“ should call removeGlobal with the correct key 
 #setFromObj
 β—¦ should set this object for a wallet: 
 βœ“ should set this object for a wallet 
 #getEncryptedObj
 β—¦ should give an encrypted object: 
 βœ“ should give an encrypted object 
 #clearAll
 β—¦ should set data to {}: 
 βœ“ should set data to {} 
  89 passing (8s)
  2 pending
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.

 API
 β—¦ should have a command called "echo": 
 βœ“ should have a command called "echo" (63ms)
 β—¦ should have argTypes for every command: 
 βœ“ should have argTypes for every command 
 β—¦ should throw an error for all commands when called with wrong number of arguments: 
 βœ“ should throw an error for all commands when called with wrong number of arguments 
 β—¦ should have a callback in the arguments on every command: 
 βœ“ should have a callback in the arguments on every command 
 #echo
 β—¦ should echo a string: 
 βœ“ should echo a string 
 #echoNumber
 β—¦ should echo a number: 
 βœ“ should echo a number 
 #echoObject
 β—¦ should echo an object: 
 βœ“ should echo an object (45ms)
 #getArgTypes
 β—¦ should get the argTypes of echo: 
 βœ“ should get the argTypes of echo (54ms)
 #getCommands
 β—¦ should get all the commands: 
 βœ“ should get all the commands 
 #getWallets
 β—¦ should get the wallet ids: 
 βœ“ should get the wallet ids 
 #help
 β—¦ should call _cmd_getCommands: 
 βœ“ should call _cmd_getCommands 
 AddressIndex model
 β—¦ should create an instance (livenet): 
 βœ“ should create an instance (livenet) 
 β—¦ show be able to tostore and read: 
 βœ“ show be able to tostore and read 
 β—¦ should count generation indexes: 
 βœ“ should count generation indexes 
 β—¦ #merge tests: 
 βœ“ #merge tests 
 Passphrase model
 β—¦ should create an instance: 
 βœ“ should create an instance 
 PrivateKey model
 β—¦ should create an instance: 
 βœ“ should create an instance 
 β—¦ should derive priv keys: 
 βœ“ should derive priv keys (64ms)
 β—¦ should derive priv keys array: 
 βœ“ should derive priv keys array (39ms)
 β—¦ should calculate .id: 
 βœ“ should calculate .id 
 β—¦ fromObj toObj roundtrip: 
 βœ“ fromObj toObj roundtrip (46ms)
 PublicKeyRing model
 β—¦ should create an instance (livenet): 
 βœ“ should create an instance (livenet) 
 β—¦ should create an instance (testnet): 
 βœ“ should create an instance (testnet) 
 β—¦ should fail to generate shared pub keys wo extended key: 
 βœ“ should fail to generate shared pub keys wo extended key 
 β—¦ should add and check when adding shared pub keys: 
 βœ“ should add and check when adding shared pub keys (54ms)
 β—¦ show be able to tostore and read: 
 βœ“ show be able to tostore and read (211ms)
 β—¦ should generate some p2sh addresses: 
 βœ“ should generate some p2sh addresses (163ms)
 β—¦ should return PublicKeyRing addresses: 
 βœ“ should return PublicKeyRing addresses (156ms)
 β—¦ should count generation indexes: 
 βœ“ should count generation indexes (173ms)
 β—¦ #merge index tests: 
 βœ“ #merge index tests (184ms)
 β—¦ #merge check tests: 
 βœ“ #merge check tests (100ms)
 β—¦ #merge pubkey tests: 
 βœ“ #merge pubkey tests (105ms)
 β—¦ #merge pubkey tests (case 2): 
 βœ“ #merge pubkey tests (case 2) (81ms)
 β—¦ #merge with nickname: 
 βœ“ #merge with nickname (61ms)
 β—¦ #toObj #fromObj with nickname: 
 βœ“ #toObj #fromObj with nickname (46ms)
 β—¦ #getRedeemScriptMap check tests: 
 βœ“ #getRedeemScriptMap check tests (137ms)
 Structure model
 β—¦ should have the correct constants: 
 βœ“ should have the correct constants 
 β—¦ should get the correct branches: 
 βœ“ should get the correct branches 
 TxProposals model
 β—¦ verify TXs: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ verify TXs (417ms)
 β—¦ should create an instance: 
 βœ“ should create an instance 
 β—¦ #getUsedUnspend: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #getUsedUnspend (292ms)
 β—¦ #merge with self: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge with self (270ms)
 β—¦ #merge, merge signatures case 1: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge, merge signatures case 1 (338ms)
 β—¦ #merge, merge signatures case 2: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge, merge signatures case 2 (398ms)
 β—¦ #merge, merge signatures case 3: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge, merge signatures case 3 (436ms)
 β—¦ #toObj #fromObj roundtrip: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #toObj #fromObj roundtrip (267ms)
 Wallet model
 β—¦ should fail to create an instance: 
 βœ“ should fail to create an instance 
 β—¦ should create an instance: 
 βœ“ should create an instance 
 β—¦ should provide some basic features: 
 βœ“ should provide some basic features (123ms)
 β—¦ #create, 1 sign: 
 βœ“ #create, 1 sign (215ms)
 β—¦ #addressIsOwn: 
 βœ“ #addressIsOwn (273ms)
 β—¦ #create. Signing with derivate keys: 
 βœ“ #create. Signing with derivate keys (451ms)
 β—¦ #fromObj #toObj round trip: 
 βœ“ #fromObj #toObj round trip (238ms)
 β—¦ #getSecret decodeSecret: 
 βœ“ #getSecret decodeSecret (187ms)
 β—¦ decodeSecret check: 
 βœ“ decodeSecret check 
 β—¦ call reconnect after interval: 
 βœ“ call reconnect after interval (1199ms)
 β—¦ handle network indexes correctly: 
 βœ“ handle network indexes correctly 
 β—¦ handle network pubKeyRings correctly: 
 βœ“ handle network pubKeyRings correctly (58ms)
 β—¦ handle new connections: 
 βœ“ handle new connections 
 β—¦ handle disconnections: 
 βœ“ handle disconnections 
 β—¦ should register new copayers correctly: 
 βœ“ should register new copayers correctly 
 β—¦ should register new peers correctly: 
 βœ“ should register new peers correctly 
 β—¦ should get balance: 
 βœ“ should get balance 
 β—¦ should create transaction: 
 βœ“ should create transaction (280ms)
 WalletFactory model
 β—¦ should create the factory: 
 βœ“ should create the factory 
 β—¦ #_checkRead should return false: 
 βœ“ #_checkRead should return false 
 β—¦ should be able to create wallets: 
 βœ“ should be able to create wallets 
 β—¦ should be able to get wallets: 
 βœ“ should be able to get wallets 
 β—¦ #fromObj #toObj round trip: 
 βœ“ #fromObj #toObj round trip (40ms)
 β—¦ BIP32 length problem: 
 βœ“ BIP32 length problem 
 Insight model
 β—¦ should create an instance: 
 βœ“ should create an instance 
 - should return array of unspent output
 - should return txid
 Performance tests
 PrivateKey
 β—¦ should optimize BIP32 private key gen time with cache: 
 βœ“ should optimize BIP32 private key gen time with cache (267ms)
 PublicKeyRing
 β—¦ should optimize BIP32 publickey gen time with cache for 2-of-3: 
 βœ“ should optimize BIP32 publickey gen time with cache for 2-of-3 (177ms)
 β—¦ should optimize BIP32 publickey gen time with cache for 3-of-5: 
 βœ“ should optimize BIP32 publickey gen time with cache for 3-of-5 (317ms)
 Storage/File
 β—¦ should exist: 
 βœ“ should exist 
 #load
 β—¦ should call fs.readFile: 
 βœ“ should call fs.readFile (45ms)
 #save
 β—¦ should call fs.writeFile: 
 βœ“ should call fs.writeFile 
 #_read
 β—¦ should return the value of a key: 
 βœ“ should return the value of a key 
 #_write
 β—¦ should save the value of a key and then run save: 
 βœ“ should save the value of a key and then run save 
 #getGlobal
 β—¦ should call storage._read: 
 βœ“ should call storage._read 
 #setGlobal
 β—¦ should store a global key: 
 βœ“ should store a global key 
 #removeGlobal
 β—¦ should remove a global key: 
 βœ“ should remove a global key 
 #_key
 β—¦ should merge the wallet id and item key: 
 βœ“ should merge the wallet id and item key 
 #get
 β—¦ should call getGlobal with the correct key: 
 βœ“ should call getGlobal with the correct key 
 #set
 β—¦ should call setGlobal with the correct key: 
 βœ“ should call setGlobal with the correct key 
 #remove
 β—¦ should call removeGlobal with the correct key: 
 βœ“ should call removeGlobal with the correct key 
 #setFromObj
 β—¦ should set this object for a wallet: 
 βœ“ should set this object for a wallet 
 #getEncryptedObj
 β—¦ should give an encrypted object: 
 βœ“ should give an encrypted object 
 #clearAll
 β—¦ should set data to {}: 
 βœ“ should set data to {} 
  89 passing (8s)
  2 pending
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.

 API
 β—¦ should have a command called "echo": 
 βœ“ should have a command called "echo" (64ms)
 β—¦ should have argTypes for every command: 
 βœ“ should have argTypes for every command 
 β—¦ should throw an error for all commands when called with wrong number of arguments: 
 βœ“ should throw an error for all commands when called with wrong number of arguments 
 β—¦ should have a callback in the arguments on every command: 
 βœ“ should have a callback in the arguments on every command 
 #echo
 β—¦ should echo a string: 
 βœ“ should echo a string 
 #echoNumber
 β—¦ should echo a number: 
 βœ“ should echo a number (42ms)
 #echoObject
 β—¦ should echo an object: 
 βœ“ should echo an object (41ms)
 #getArgTypes
 β—¦ should get the argTypes of echo: 
 βœ“ should get the argTypes of echo (60ms)
 #getCommands
 β—¦ should get all the commands: 
 βœ“ should get all the commands 
 #getWallets
 β—¦ should get the wallet ids: 
 βœ“ should get the wallet ids 
 #help
 β—¦ should call _cmd_getCommands: 
 βœ“ should call _cmd_getCommands 
 AddressIndex model
 β—¦ should create an instance (livenet): 
 βœ“ should create an instance (livenet) 
 β—¦ show be able to tostore and read: 
 βœ“ show be able to tostore and read 
 β—¦ should count generation indexes: 
 βœ“ should count generation indexes 
 β—¦ #merge tests: 
 βœ“ #merge tests 
 Passphrase model
 β—¦ should create an instance: 
 βœ“ should create an instance 
 PrivateKey model
 β—¦ should create an instance: 
 βœ“ should create an instance 
 β—¦ should derive priv keys: 
 βœ“ should derive priv keys (67ms)
 β—¦ should derive priv keys array: 
 βœ“ should derive priv keys array (44ms)
 β—¦ should calculate .id: 
 βœ“ should calculate .id 
 β—¦ fromObj toObj roundtrip: 
 βœ“ fromObj toObj roundtrip (42ms)
 PublicKeyRing model
 β—¦ should create an instance (livenet): 
 βœ“ should create an instance (livenet) 
 β—¦ should create an instance (testnet): 
 βœ“ should create an instance (testnet) 
 β—¦ should fail to generate shared pub keys wo extended key: 
 βœ“ should fail to generate shared pub keys wo extended key 
 β—¦ should add and check when adding shared pub keys: 
 βœ“ should add and check when adding shared pub keys (64ms)
 β—¦ show be able to tostore and read: 
 βœ“ show be able to tostore and read (219ms)
 β—¦ should generate some p2sh addresses: 
 βœ“ should generate some p2sh addresses (195ms)
 β—¦ should return PublicKeyRing addresses: 
 βœ“ should return PublicKeyRing addresses (181ms)
 β—¦ should count generation indexes: 
 βœ“ should count generation indexes (174ms)
 β—¦ #merge index tests: 
 βœ“ #merge index tests (190ms)
 β—¦ #merge check tests: 
 βœ“ #merge check tests (89ms)
 β—¦ #merge pubkey tests: 
 βœ“ #merge pubkey tests (124ms)
 β—¦ #merge pubkey tests (case 2): 
 βœ“ #merge pubkey tests (case 2) (95ms)
 β—¦ #merge with nickname: 
 βœ“ #merge with nickname (73ms)
 β—¦ #toObj #fromObj with nickname: 
 βœ“ #toObj #fromObj with nickname (50ms)
 β—¦ #getRedeemScriptMap check tests: 
 βœ“ #getRedeemScriptMap check tests (158ms)
 Structure model
 β—¦ should have the correct constants: 
 βœ“ should have the correct constants 
 β—¦ should get the correct branches: 
 βœ“ should get the correct branches 
 TxProposals model
 β—¦ verify TXs: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ verify TXs (387ms)
 β—¦ should create an instance: 
 βœ“ should create an instance 
 β—¦ #getUsedUnspend: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #getUsedUnspend (294ms)
 β—¦ #merge with self: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge with self (283ms)
 β—¦ #merge, merge signatures case 1: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge, merge signatures case 1 (325ms)
 β—¦ #merge, merge signatures case 2: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge, merge signatures case 2 (442ms)
 β—¦ #merge, merge signatures case 3: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge, merge signatures case 3 (535ms)
 β—¦ #toObj #fromObj roundtrip: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #toObj #fromObj roundtrip (289ms)
 Wallet model
 β—¦ should fail to create an instance: 
 βœ“ should fail to create an instance 
 β—¦ should create an instance: 
 βœ“ should create an instance 
 β—¦ should provide some basic features: 
 βœ“ should provide some basic features (132ms)
 β—¦ #create, 1 sign: 
 βœ“ #create, 1 sign (471ms)
 β—¦ #addressIsOwn: 
 βœ“ #addressIsOwn (345ms)
 β—¦ #create. Signing with derivate keys: 
 βœ“ #create. Signing with derivate keys (486ms)
 β—¦ #fromObj #toObj round trip: 
 βœ“ #fromObj #toObj round trip (253ms)
 β—¦ #getSecret decodeSecret: 
 βœ“ #getSecret decodeSecret (192ms)
 β—¦ decodeSecret check: 
 βœ“ decodeSecret check 
 β—¦ call reconnect after interval: 
 βœ“ call reconnect after interval (1223ms)
 β—¦ handle network indexes correctly: 
 βœ“ handle network indexes correctly 
 β—¦ handle network pubKeyRings correctly: 
 βœ“ handle network pubKeyRings correctly (64ms)
 β—¦ handle new connections: 
 βœ“ handle new connections 
 β—¦ handle disconnections: 
 βœ“ handle disconnections 
 β—¦ should register new copayers correctly: 
 βœ“ should register new copayers correctly 
 β—¦ should register new peers correctly: 
 βœ“ should register new peers correctly 
 β—¦ should get balance: 
 βœ“ should get balance 
 β—¦ should create transaction: 
 βœ“ should create transaction (308ms)
 WalletFactory model
 β—¦ should create the factory: 
 βœ“ should create the factory 
 β—¦ #_checkRead should return false: 
 βœ“ #_checkRead should return false 
 β—¦ should be able to create wallets: 
 βœ“ should be able to create wallets 
 β—¦ should be able to get wallets: 
 βœ“ should be able to get wallets 
 β—¦ #fromObj #toObj round trip: 
 βœ“ #fromObj #toObj round trip (42ms)
 β—¦ BIP32 length problem: 
 βœ“ BIP32 length problem 
 Insight model
 β—¦ should create an instance: 
 βœ“ should create an instance 
 - should return array of unspent output
 - should return txid
 Performance tests
 PrivateKey
 β—¦ should optimize BIP32 private key gen time with cache: 
 βœ“ should optimize BIP32 private key gen time with cache (431ms)
 PublicKeyRing
 β—¦ should optimize BIP32 publickey gen time with cache for 2-of-3: 
 βœ“ should optimize BIP32 publickey gen time with cache for 2-of-3 (181ms)
 β—¦ should optimize BIP32 publickey gen time with cache for 3-of-5: 
 βœ“ should optimize BIP32 publickey gen time with cache for 3-of-5 (240ms)
 Storage/File
 β—¦ should exist: 
 βœ“ should exist 
 #load
 β—¦ should call fs.readFile: 
 βœ“ should call fs.readFile (52ms)
 #save
 β—¦ should call fs.writeFile: 
 βœ“ should call fs.writeFile 
 #_read
 β—¦ should return the value of a key: 
 βœ“ should return the value of a key 
 #_write
 β—¦ should save the value of a key and then run save: 
 βœ“ should save the value of a key and then run save 
 #getGlobal
 β—¦ should call storage._read: 
 βœ“ should call storage._read 
 #setGlobal
 β—¦ should store a global key: 
 βœ“ should store a global key 
 #removeGlobal
 β—¦ should remove a global key: 
 βœ“ should remove a global key 
 #_key
 β—¦ should merge the wallet id and item key: 
 βœ“ should merge the wallet id and item key 
 #get
 β—¦ should call getGlobal with the correct key: 
 βœ“ should call getGlobal with the correct key 
 #set
 β—¦ should call setGlobal with the correct key: 
 βœ“ should call setGlobal with the correct key 
 #remove
 β—¦ should call removeGlobal with the correct key: 
 βœ“ should call removeGlobal with the correct key 
 #setFromObj
 β—¦ should set this object for a wallet: 
 βœ“ should set this object for a wallet 
 #getEncryptedObj
 β—¦ should give an encrypted object: 
 βœ“ should give an encrypted object 
 #clearAll
 β—¦ should set data to {}: 
 βœ“ should set data to {} 
  89 passing (9s)
  2 pending
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.

 API
 β—¦ should have a command called "echo": 
 βœ“ should have a command called "echo" (113ms)
 β—¦ should have argTypes for every command: 
 βœ“ should have argTypes for every command 
 β—¦ should throw an error for all commands when called with wrong number of arguments: 
 βœ“ should throw an error for all commands when called with wrong number of arguments (56ms)
 β—¦ should have a callback in the arguments on every command: 
 βœ“ should have a callback in the arguments on every command 
 #echo
 β—¦ should echo a string: 
 βœ“ should echo a string (76ms)
 #echoNumber
 β—¦ should echo a number: 
 βœ“ should echo a number (45ms)
 #echoObject
 β—¦ should echo an object: 
 βœ“ should echo an object (57ms)
 #getArgTypes
 β—¦ should get the argTypes of echo: 
 βœ“ should get the argTypes of echo (64ms)
 #getCommands
 β—¦ should get all the commands: 
 βœ“ should get all the commands 
 #getWallets
 β—¦ should get the wallet ids: 
 βœ“ should get the wallet ids (38ms)
 #help
 β—¦ should call _cmd_getCommands: 
 βœ“ should call _cmd_getCommands (61ms)
 AddressIndex model
 β—¦ should create an instance (livenet): 
 βœ“ should create an instance (livenet) 
 β—¦ show be able to tostore and read: 
 βœ“ show be able to tostore and read 
 β—¦ should count generation indexes: 
 βœ“ should count generation indexes 
 β—¦ #merge tests: 
 βœ“ #merge tests 
 Passphrase model
 β—¦ should create an instance: 
 βœ“ should create an instance 
 PrivateKey model
 β—¦ should create an instance: 
 βœ“ should create an instance 
 β—¦ should derive priv keys: 
 βœ“ should derive priv keys (84ms)
 β—¦ should derive priv keys array: 
 βœ“ should derive priv keys array (45ms)
 β—¦ should calculate .id: 
 βœ“ should calculate .id 
 β—¦ fromObj toObj roundtrip: 
 βœ“ fromObj toObj roundtrip (51ms)
 PublicKeyRing model
 β—¦ should create an instance (livenet): 
 βœ“ should create an instance (livenet) 
 β—¦ should create an instance (testnet): 
 βœ“ should create an instance (testnet) 
 β—¦ should fail to generate shared pub keys wo extended key: 
 βœ“ should fail to generate shared pub keys wo extended key 
 β—¦ should add and check when adding shared pub keys: 
 βœ“ should add and check when adding shared pub keys (62ms)
 β—¦ show be able to tostore and read: 
 βœ“ show be able to tostore and read (239ms)
 β—¦ should generate some p2sh addresses: 
 βœ“ should generate some p2sh addresses (157ms)
 β—¦ should return PublicKeyRing addresses: 
 βœ“ should return PublicKeyRing addresses (219ms)
 β—¦ should count generation indexes: 
 βœ“ should count generation indexes (181ms)
 β—¦ #merge index tests: 
 βœ“ #merge index tests (197ms)
 β—¦ #merge check tests: 
 βœ“ #merge check tests (95ms)
 β—¦ #merge pubkey tests: 
 βœ“ #merge pubkey tests (174ms)
 β—¦ #merge pubkey tests (case 2): 
 βœ“ #merge pubkey tests (case 2) (96ms)
 β—¦ #merge with nickname: 
 βœ“ #merge with nickname (121ms)
 β—¦ #toObj #fromObj with nickname: 
 βœ“ #toObj #fromObj with nickname (67ms)
 β—¦ #getRedeemScriptMap check tests: 
 βœ“ #getRedeemScriptMap check tests (241ms)
 Structure model
 β—¦ should have the correct constants: 
 βœ“ should have the correct constants 
 β—¦ should get the correct branches: 
 βœ“ should get the correct branches 
 TxProposals model
 β—¦ verify TXs: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ verify TXs (667ms)
 β—¦ should create an instance: 
 βœ“ should create an instance 
 β—¦ #getUsedUnspend: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #getUsedUnspend (288ms)
 β—¦ #merge with self: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge with self (288ms)
 β—¦ #merge, merge signatures case 1: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge, merge signatures case 1 (322ms)
 β—¦ #merge, merge signatures case 2: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge, merge signatures case 2 (456ms)
 β—¦ #merge, merge signatures case 3: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge, merge signatures case 3 (551ms)
 β—¦ #toObj #fromObj roundtrip: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #toObj #fromObj roundtrip (317ms)
 Wallet model
 β—¦ should fail to create an instance: 
 βœ“ should fail to create an instance 
 β—¦ should create an instance: 
 βœ“ should create an instance 
 β—¦ should provide some basic features: 
 βœ“ should provide some basic features (171ms)
 β—¦ #create, 1 sign: 
 βœ“ #create, 1 sign (225ms)
 β—¦ #addressIsOwn: 
 βœ“ #addressIsOwn (267ms)
 β—¦ #create. Signing with derivate keys: 
 βœ“ #create. Signing with derivate keys (454ms)
 β—¦ #fromObj #toObj round trip: 
 βœ“ #fromObj #toObj round trip (250ms)
 β—¦ #getSecret decodeSecret: 
 βœ“ #getSecret decodeSecret (172ms)
 β—¦ decodeSecret check: 
 βœ“ decodeSecret check 
 β—¦ call reconnect after interval: 
 βœ“ call reconnect after interval (1195ms)
 β—¦ handle network indexes correctly: 
 βœ“ handle network indexes correctly 
 β—¦ handle network pubKeyRings correctly: 
 βœ“ handle network pubKeyRings correctly (86ms)
 β—¦ handle new connections: 
 βœ“ handle new connections 
 β—¦ handle disconnections: 
 βœ“ handle disconnections 
 β—¦ should register new copayers correctly: 
 βœ“ should register new copayers correctly 
 β—¦ should register new peers correctly: 
 βœ“ should register new peers correctly 
 β—¦ should get balance: 
 βœ“ should get balance 
 β—¦ should create transaction: 
 βœ“ should create transaction (346ms)
 WalletFactory model
 β—¦ should create the factory: 
 βœ“ should create the factory 
 β—¦ #_checkRead should return false: 
 βœ“ #_checkRead should return false 
 β—¦ should be able to create wallets: 
 βœ“ should be able to create wallets 
 β—¦ should be able to get wallets: 
 βœ“ should be able to get wallets 
 β—¦ #fromObj #toObj round trip: 
 βœ“ #fromObj #toObj round trip (45ms)
 β—¦ BIP32 length problem: 
 βœ“ BIP32 length problem 
 Insight model
 β—¦ should create an instance: 
 βœ“ should create an instance 
 - should return array of unspent output
 - should return txid
 Performance tests
 PrivateKey
 β—¦ should optimize BIP32 private key gen time with cache: 
 βœ“ should optimize BIP32 private key gen time with cache (287ms)
 PublicKeyRing
 β—¦ should optimize BIP32 publickey gen time with cache for 2-of-3: 
 βœ“ should optimize BIP32 publickey gen time with cache for 2-of-3 (186ms)
 β—¦ should optimize BIP32 publickey gen time with cache for 3-of-5: 
 βœ“ should optimize BIP32 publickey gen time with cache for 3-of-5 (235ms)
 Storage/File
 β—¦ should exist: 
 βœ“ should exist 
 #load
 β—¦ should call fs.readFile: 
 βœ“ should call fs.readFile 
 #save
 β—¦ should call fs.writeFile: 
 βœ“ should call fs.writeFile 
 #_read
 β—¦ should return the value of a key: 
 βœ“ should return the value of a key 
 #_write
 β—¦ should save the value of a key and then run save: 
 βœ“ should save the value of a key and then run save 
 #getGlobal
 β—¦ should call storage._read: 
 βœ“ should call storage._read 
 #setGlobal
 β—¦ should store a global key: 
 βœ“ should store a global key 
 #removeGlobal
 β—¦ should remove a global key: 
 βœ“ should remove a global key 
 #_key
 β—¦ should merge the wallet id and item key: 
 βœ“ should merge the wallet id and item key 
 #get
 β—¦ should call getGlobal with the correct key: 
 βœ“ should call getGlobal with the correct key 
 #set
 β—¦ should call setGlobal with the correct key: 
 βœ“ should call setGlobal with the correct key 
 #remove
 β—¦ should call removeGlobal with the correct key: 
 βœ“ should call removeGlobal with the correct key 
 #setFromObj
 β—¦ should set this object for a wallet: 
 βœ“ should set this object for a wallet 
 #getEncryptedObj
 β—¦ should give an encrypted object: 
 βœ“ should give an encrypted object 
 #clearAll
 β—¦ should set data to {}: 
 βœ“ should set data to {} 
  89 passing (10s)
  2 pending
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.

 API
 β—¦ should have a command called "echo": 
 βœ“ should have a command called "echo" (67ms)
 β—¦ should have argTypes for every command: 
 βœ“ should have argTypes for every command 
 β—¦ should throw an error for all commands when called with wrong number of arguments: 
 βœ“ should throw an error for all commands when called with wrong number of arguments 
 β—¦ should have a callback in the arguments on every command: 
 βœ“ should have a callback in the arguments on every command 
 #echo
 β—¦ should echo a string: 
 βœ“ should echo a string (39ms)
 #echoNumber
 β—¦ should echo a number: 
 βœ“ should echo a number (42ms)
 #echoObject
 β—¦ should echo an object: 
 βœ“ should echo an object 
 #getArgTypes
 β—¦ should get the argTypes of echo: 
 βœ“ should get the argTypes of echo (39ms)
 #getCommands
 β—¦ should get all the commands: 
 βœ“ should get all the commands 
 #getWallets
 β—¦ should get the wallet ids: 
 βœ“ should get the wallet ids 
 #help
 β—¦ should call _cmd_getCommands: 
 βœ“ should call _cmd_getCommands 
 AddressIndex model
 β—¦ should create an instance (livenet): 
 βœ“ should create an instance (livenet) 
 β—¦ show be able to tostore and read: 
 βœ“ show be able to tostore and read 
 β—¦ should count generation indexes: 
 βœ“ should count generation indexes 
 β—¦ #merge tests: 
 βœ“ #merge tests 
 Passphrase model
 β—¦ should create an instance: 
 βœ“ should create an instance 
 PrivateKey model
 β—¦ should create an instance: 
 βœ“ should create an instance 
 β—¦ should derive priv keys: 
 βœ“ should derive priv keys (71ms)
 β—¦ should derive priv keys array: 
 βœ“ should derive priv keys array (39ms)
 β—¦ should calculate .id: 
 βœ“ should calculate .id 
 β—¦ fromObj toObj roundtrip: 
 βœ“ fromObj toObj roundtrip (45ms)
 PublicKeyRing model
 β—¦ should create an instance (livenet): 
 βœ“ should create an instance (livenet) 
 β—¦ should create an instance (testnet): 
 βœ“ should create an instance (testnet) 
 β—¦ should fail to generate shared pub keys wo extended key: 
 βœ“ should fail to generate shared pub keys wo extended key 
 β—¦ should add and check when adding shared pub keys: 
 βœ“ should add and check when adding shared pub keys (60ms)
 β—¦ show be able to tostore and read: 
 βœ“ show be able to tostore and read (226ms)
 β—¦ should generate some p2sh addresses: 
 βœ“ should generate some p2sh addresses (143ms)
 β—¦ should return PublicKeyRing addresses: 
 βœ“ should return PublicKeyRing addresses (140ms)
 β—¦ should count generation indexes: 
 βœ“ should count generation indexes (177ms)
 β—¦ #merge index tests: 
 βœ“ #merge index tests (182ms)
 β—¦ #merge check tests: 
 βœ“ #merge check tests (92ms)
 β—¦ #merge pubkey tests: 
 βœ“ #merge pubkey tests (104ms)
 β—¦ #merge pubkey tests (case 2): 
 βœ“ #merge pubkey tests (case 2) (86ms)
 β—¦ #merge with nickname: 
 βœ“ #merge with nickname (62ms)
 β—¦ #toObj #fromObj with nickname: 
 βœ“ #toObj #fromObj with nickname (44ms)
 β—¦ #getRedeemScriptMap check tests: 
 βœ“ #getRedeemScriptMap check tests (134ms)
 Structure model
 β—¦ should have the correct constants: 
 βœ“ should have the correct constants 
 β—¦ should get the correct branches: 
 βœ“ should get the correct branches 
 TxProposals model
 β—¦ verify TXs: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ verify TXs (400ms)
 β—¦ should create an instance: 
 βœ“ should create an instance 
 β—¦ #getUsedUnspend: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #getUsedUnspend (288ms)
 β—¦ #merge with self: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge with self (280ms)
 β—¦ #merge, merge signatures case 1: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge, merge signatures case 1 (310ms)
 β—¦ #merge, merge signatures case 2: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge, merge signatures case 2 (460ms)
 β—¦ #merge, merge signatures case 3: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge, merge signatures case 3 (449ms)
 β—¦ #toObj #fromObj roundtrip: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #toObj #fromObj roundtrip (264ms)
 Wallet model
 β—¦ should fail to create an instance: 
 βœ“ should fail to create an instance 
 β—¦ should create an instance: 
 βœ“ should create an instance 
 β—¦ should provide some basic features: 
 βœ“ should provide some basic features (138ms)
 β—¦ #create, 1 sign: 
 βœ“ #create, 1 sign (228ms)
 β—¦ #addressIsOwn: 
 βœ“ #addressIsOwn (260ms)
 β—¦ #create. Signing with derivate keys: 
 βœ“ #create. Signing with derivate keys (459ms)
 β—¦ #fromObj #toObj round trip: 
 βœ“ #fromObj #toObj round trip (307ms)
 β—¦ #getSecret decodeSecret: 
 βœ“ #getSecret decodeSecret (239ms)
 β—¦ decodeSecret check: 
 βœ“ decodeSecret check 
 β—¦ call reconnect after interval: 
 βœ“ call reconnect after interval (1239ms)
 β—¦ handle network indexes correctly: 
 βœ“ handle network indexes correctly 
 β—¦ handle network pubKeyRings correctly: 
 βœ“ handle network pubKeyRings correctly (62ms)
 β—¦ handle new connections: 
 βœ“ handle new connections 
 β—¦ handle disconnections: 
 βœ“ handle disconnections 
 β—¦ should register new copayers correctly: 
 βœ“ should register new copayers correctly 
 β—¦ should register new peers correctly: 
 βœ“ should register new peers correctly 
 β—¦ should get balance: 
 βœ“ should get balance 
 β—¦ should create transaction: 
 βœ“ should create transaction (272ms)
 WalletFactory model
 β—¦ should create the factory: 
 βœ“ should create the factory 
 β—¦ #_checkRead should return false: 
 βœ“ #_checkRead should return false 
 β—¦ should be able to create wallets: 
 βœ“ should be able to create wallets 
 β—¦ should be able to get wallets: 
 βœ“ should be able to get wallets 
 β—¦ #fromObj #toObj round trip: 
 βœ“ #fromObj #toObj round trip (41ms)
 β—¦ BIP32 length problem: 
 βœ“ BIP32 length problem 
 Insight model
 β—¦ should create an instance: 
 βœ“ should create an instance 
 - should return array of unspent output
 - should return txid
 Performance tests
 PrivateKey
 β—¦ should optimize BIP32 private key gen time with cache: 
 βœ“ should optimize BIP32 private key gen time with cache (196ms)
 PublicKeyRing
 β—¦ should optimize BIP32 publickey gen time with cache for 2-of-3: 
 βœ“ should optimize BIP32 publickey gen time with cache for 2-of-3 (183ms)
 β—¦ should optimize BIP32 publickey gen time with cache for 3-of-5: 
 βœ“ should optimize BIP32 publickey gen time with cache for 3-of-5 (249ms)
 Storage/File
 β—¦ should exist: 
 βœ“ should exist 
 #load
 β—¦ should call fs.readFile: 
 βœ“ should call fs.readFile 
 #save
 β—¦ should call fs.writeFile: 
 βœ“ should call fs.writeFile 
 #_read
 β—¦ should return the value of a key: 
 βœ“ should return the value of a key 
 #_write
 β—¦ should save the value of a key and then run save: 
 βœ“ should save the value of a key and then run save 
 #getGlobal
 β—¦ should call storage._read: 
 βœ“ should call storage._read 
 #setGlobal
 β—¦ should store a global key: 
 βœ“ should store a global key 
 #removeGlobal
 β—¦ should remove a global key: 
 βœ“ should remove a global key 
 #_key
 β—¦ should merge the wallet id and item key: 
 βœ“ should merge the wallet id and item key 
 #get
 β—¦ should call getGlobal with the correct key: 
 βœ“ should call getGlobal with the correct key 
 #set
 β—¦ should call setGlobal with the correct key: 
 βœ“ should call setGlobal with the correct key 
 #remove
 β—¦ should call removeGlobal with the correct key: 
 βœ“ should call removeGlobal with the correct key 
 #setFromObj
 β—¦ should set this object for a wallet: 
 βœ“ should set this object for a wallet 
 #getEncryptedObj
 β—¦ should give an encrypted object: 
 βœ“ should give an encrypted object 
 #clearAll
 β—¦ should set data to {}: 
 βœ“ should set data to {} 
  89 passing (8s)
  2 pending
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.

 API
 β—¦ should have a command called "echo": 
 βœ“ should have a command called "echo" (76ms)
 β—¦ should have argTypes for every command: 
 βœ“ should have argTypes for every command 
 β—¦ should throw an error for all commands when called with wrong number of arguments: 
 βœ“ should throw an error for all commands when called with wrong number of arguments 
 β—¦ should have a callback in the arguments on every command: 
 βœ“ should have a callback in the arguments on every command 
 #echo
 β—¦ should echo a string: 
 βœ“ should echo a string 
 #echoNumber
 β—¦ should echo a number: 
 βœ“ should echo a number (41ms)
 #echoObject
 β—¦ should echo an object: 
 βœ“ should echo an object (117ms)
 #getArgTypes
 β—¦ should get the argTypes of echo: 
 βœ“ should get the argTypes of echo (54ms)
 #getCommands
 β—¦ should get all the commands: 
 βœ“ should get all the commands 
 #getWallets
 β—¦ should get the wallet ids: 
 βœ“ should get the wallet ids 
 #help
 β—¦ should call _cmd_getCommands: 
 βœ“ should call _cmd_getCommands 
 AddressIndex model
 β—¦ should create an instance (livenet): 
 βœ“ should create an instance (livenet) 
 β—¦ show be able to tostore and read: 
 βœ“ show be able to tostore and read 
 β—¦ should count generation indexes: 
 βœ“ should count generation indexes 
 β—¦ #merge tests: 
 βœ“ #merge tests 
 Passphrase model
 β—¦ should create an instance: 
 βœ“ should create an instance 
 PrivateKey model
 β—¦ should create an instance: 
 βœ“ should create an instance 
 β—¦ should derive priv keys: 
 βœ“ should derive priv keys (62ms)
 β—¦ should derive priv keys array: 
 βœ“ should derive priv keys array (47ms)
 β—¦ should calculate .id: 
 βœ“ should calculate .id 
 β—¦ fromObj toObj roundtrip: 
 βœ“ fromObj toObj roundtrip (41ms)
 PublicKeyRing model
 β—¦ should create an instance (livenet): 
 βœ“ should create an instance (livenet) 
 β—¦ should create an instance (testnet): 
 βœ“ should create an instance (testnet) 
 β—¦ should fail to generate shared pub keys wo extended key: 
 βœ“ should fail to generate shared pub keys wo extended key 
 β—¦ should add and check when adding shared pub keys: 
 βœ“ should add and check when adding shared pub keys (70ms)
 β—¦ show be able to tostore and read: 
 βœ“ show be able to tostore and read (202ms)
 β—¦ should generate some p2sh addresses: 
 βœ“ should generate some p2sh addresses (136ms)
 β—¦ should return PublicKeyRing addresses: 
 βœ“ should return PublicKeyRing addresses (143ms)
 β—¦ should count generation indexes: 
 βœ“ should count generation indexes (213ms)
 β—¦ #merge index tests: 
 βœ“ #merge index tests (186ms)
 β—¦ #merge check tests: 
 βœ“ #merge check tests (96ms)
 β—¦ #merge pubkey tests: 
 βœ“ #merge pubkey tests (102ms)
 β—¦ #merge pubkey tests (case 2): 
 βœ“ #merge pubkey tests (case 2) (83ms)
 β—¦ #merge with nickname: 
 βœ“ #merge with nickname (59ms)
 β—¦ #toObj #fromObj with nickname: 
 βœ“ #toObj #fromObj with nickname (49ms)
 β—¦ #getRedeemScriptMap check tests: 
 βœ“ #getRedeemScriptMap check tests (153ms)
 Structure model
 β—¦ should have the correct constants: 
 βœ“ should have the correct constants 
 β—¦ should get the correct branches: 
 βœ“ should get the correct branches 
 TxProposals model
 β—¦ verify TXs: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ verify TXs (398ms)
 β—¦ should create an instance: 
 βœ“ should create an instance 
 β—¦ #getUsedUnspend: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #getUsedUnspend (290ms)
 β—¦ #merge with self: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge with self (275ms)
 β—¦ #merge, merge signatures case 1: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge, merge signatures case 1 (306ms)
 β—¦ #merge, merge signatures case 2: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge, merge signatures case 2 (416ms)
 β—¦ #merge, merge signatures case 3: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge, merge signatures case 3 (426ms)
 β—¦ #toObj #fromObj roundtrip: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #toObj #fromObj roundtrip (273ms)
 Wallet model
 β—¦ should fail to create an instance: 
 βœ“ should fail to create an instance 
 β—¦ should create an instance: 
 βœ“ should create an instance 
 β—¦ should provide some basic features: 
 βœ“ should provide some basic features (120ms)
 β—¦ #create, 1 sign: 
 βœ“ #create, 1 sign (225ms)
 β—¦ #addressIsOwn: 
 βœ“ #addressIsOwn (256ms)
 β—¦ #create. Signing with derivate keys: 
 βœ“ #create. Signing with derivate keys (456ms)
 β—¦ #fromObj #toObj round trip: 
 βœ“ #fromObj #toObj round trip (215ms)
 β—¦ #getSecret decodeSecret: 
 βœ“ #getSecret decodeSecret (177ms)
 β—¦ decodeSecret check: 
 βœ“ decodeSecret check 
 β—¦ call reconnect after interval: 
 βœ“ call reconnect after interval (1194ms)
 β—¦ handle network indexes correctly: 
 βœ“ handle network indexes correctly 
 β—¦ handle network pubKeyRings correctly: 
 βœ“ handle network pubKeyRings correctly (59ms)
 β—¦ handle new connections: 
 βœ“ handle new connections 
 β—¦ handle disconnections: 
 βœ“ handle disconnections 
 β—¦ should register new copayers correctly: 
 βœ“ should register new copayers correctly 
 β—¦ should register new peers correctly: 
 βœ“ should register new peers correctly 
 β—¦ should get balance: 
 βœ“ should get balance 
 β—¦ should create transaction: 
 βœ“ should create transaction (268ms)
 WalletFactory model
 β—¦ should create the factory: 
 βœ“ should create the factory 
 β—¦ #_checkRead should return false: 
 βœ“ #_checkRead should return false 
 β—¦ should be able to create wallets: 
 βœ“ should be able to create wallets 
 β—¦ should be able to get wallets: 
 βœ“ should be able to get wallets 
 β—¦ #fromObj #toObj round trip: 
 βœ“ #fromObj #toObj round trip (39ms)
 β—¦ BIP32 length problem: 
 βœ“ BIP32 length problem 
 Insight model
 β—¦ should create an instance: 
 βœ“ should create an instance 
 - should return array of unspent output
 - should return txid
 Performance tests
 PrivateKey
 β—¦ should optimize BIP32 private key gen time with cache: 
 βœ“ should optimize BIP32 private key gen time with cache (200ms)
 PublicKeyRing
 β—¦ should optimize BIP32 publickey gen time with cache for 2-of-3: 
 βœ“ should optimize BIP32 publickey gen time with cache for 2-of-3 (141ms)
 β—¦ should optimize BIP32 publickey gen time with cache for 3-of-5: 
 βœ“ should optimize BIP32 publickey gen time with cache for 3-of-5 (214ms)
 Storage/File
 β—¦ should exist: 
 βœ“ should exist 
 #load
 β—¦ should call fs.readFile: 
 βœ“ should call fs.readFile 
 #save
 β—¦ should call fs.writeFile: 
 βœ“ should call fs.writeFile 
 #_read
 β—¦ should return the value of a key: 
 βœ“ should return the value of a key 
 #_write
 β—¦ should save the value of a key and then run save: 
 βœ“ should save the value of a key and then run save 
 #getGlobal
 β—¦ should call storage._read: 
 βœ“ should call storage._read 
 #setGlobal
 β—¦ should store a global key: 
 βœ“ should store a global key 
 #removeGlobal
 β—¦ should remove a global key: 
 βœ“ should remove a global key 
 #_key
 β—¦ should merge the wallet id and item key: 
 βœ“ should merge the wallet id and item key 
 #get
 β—¦ should call getGlobal with the correct key: 
 βœ“ should call getGlobal with the correct key 
 #set
 β—¦ should call setGlobal with the correct key: 
 βœ“ should call setGlobal with the correct key 
 #remove
 β—¦ should call removeGlobal with the correct key: 
 βœ“ should call removeGlobal with the correct key 
 #setFromObj
 β—¦ should set this object for a wallet: 
 βœ“ should set this object for a wallet 
 #getEncryptedObj
 β—¦ should give an encrypted object: 
 βœ“ should give an encrypted object 
 #clearAll
 β—¦ should set data to {}: 
 βœ“ should set data to {} 
  89 passing (8s)
  2 pending
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.

 API
 β—¦ should have a command called "echo": 
 βœ“ should have a command called "echo" (64ms)
 β—¦ should have argTypes for every command: 
 βœ“ should have argTypes for every command 
 β—¦ should throw an error for all commands when called with wrong number of arguments: 
 βœ“ should throw an error for all commands when called with wrong number of arguments 
 β—¦ should have a callback in the arguments on every command: 
 βœ“ should have a callback in the arguments on every command 
 #echo
 β—¦ should echo a string: 
 βœ“ should echo a string 
 #echoNumber
 β—¦ should echo a number: 
 βœ“ should echo a number (41ms)
 #echoObject
 β—¦ should echo an object: 
 βœ“ should echo an object 
 #getArgTypes
 β—¦ should get the argTypes of echo: 
 βœ“ should get the argTypes of echo (40ms)
 #getCommands
 β—¦ should get all the commands: 
 βœ“ should get all the commands 
 #getWallets
 β—¦ should get the wallet ids: 
 βœ“ should get the wallet ids 
 #help
 β—¦ should call _cmd_getCommands: 
 βœ“ should call _cmd_getCommands 
 AddressIndex model
 β—¦ should create an instance (livenet): 
 βœ“ should create an instance (livenet) 
 β—¦ show be able to tostore and read: 
 βœ“ show be able to tostore and read 
 β—¦ should count generation indexes: 
 βœ“ should count generation indexes 
 β—¦ #merge tests: 
 βœ“ #merge tests 
 Passphrase model
 β—¦ should create an instance: 
 βœ“ should create an instance 
 PrivateKey model
 β—¦ should create an instance: 
 βœ“ should create an instance 
 β—¦ should derive priv keys: 
 βœ“ should derive priv keys (67ms)
 β—¦ should derive priv keys array: 
 βœ“ should derive priv keys array (49ms)
 β—¦ should calculate .id: 
 βœ“ should calculate .id 
 β—¦ fromObj toObj roundtrip: 
 βœ“ fromObj toObj roundtrip (46ms)
 PublicKeyRing model
 β—¦ should create an instance (livenet): 
 βœ“ should create an instance (livenet) 
 β—¦ should create an instance (testnet): 
 βœ“ should create an instance (testnet) 
 β—¦ should fail to generate shared pub keys wo extended key: 
 βœ“ should fail to generate shared pub keys wo extended key 
 β—¦ should add and check when adding shared pub keys: 
 βœ“ should add and check when adding shared pub keys (55ms)
 β—¦ show be able to tostore and read: 
 βœ“ show be able to tostore and read (218ms)
 β—¦ should generate some p2sh addresses: 
 βœ“ should generate some p2sh addresses (132ms)
 β—¦ should return PublicKeyRing addresses: 
 βœ“ should return PublicKeyRing addresses (136ms)
 β—¦ should count generation indexes: 
 βœ“ should count generation indexes (182ms)
 β—¦ #merge index tests: 
 βœ“ #merge index tests (183ms)
 β—¦ #merge check tests: 
 βœ“ #merge check tests (96ms)
 β—¦ #merge pubkey tests: 
 βœ“ #merge pubkey tests (106ms)
 β—¦ #merge pubkey tests (case 2): 
 βœ“ #merge pubkey tests (case 2) (80ms)
 β—¦ #merge with nickname: 
 βœ“ #merge with nickname (58ms)
 β—¦ #toObj #fromObj with nickname: 
 βœ“ #toObj #fromObj with nickname (50ms)
 β—¦ #getRedeemScriptMap check tests: 
 βœ“ #getRedeemScriptMap check tests (132ms)
 Structure model
 β—¦ should have the correct constants: 
 βœ“ should have the correct constants 
 β—¦ should get the correct branches: 
 βœ“ should get the correct branches 
 TxProposals model
 β—¦ verify TXs: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ verify TXs (391ms)
 β—¦ should create an instance: 
 βœ“ should create an instance 
 β—¦ #getUsedUnspend: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #getUsedUnspend (298ms)
 β—¦ #merge with self: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge with self (283ms)
 β—¦ #merge, merge signatures case 1: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge, merge signatures case 1 (303ms)
 β—¦ #merge, merge signatures case 2: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge, merge signatures case 2 (384ms)
 β—¦ #merge, merge signatures case 3: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge, merge signatures case 3 (446ms)
 β—¦ #toObj #fromObj roundtrip: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #toObj #fromObj roundtrip (289ms)
 Wallet model
 β—¦ should fail to create an instance: 
 βœ“ should fail to create an instance 
 β—¦ should create an instance: 
 βœ“ should create an instance 
 β—¦ should provide some basic features: 
 βœ“ should provide some basic features (128ms)
 β—¦ #create, 1 sign: 
 βœ“ #create, 1 sign (267ms)
 β—¦ #addressIsOwn: 
 βœ“ #addressIsOwn (276ms)
 β—¦ #create. Signing with derivate keys: 
 βœ“ #create. Signing with derivate keys (490ms)
 β—¦ #fromObj #toObj round trip: 
 βœ“ #fromObj #toObj round trip (231ms)
 β—¦ #getSecret decodeSecret: 
 βœ“ #getSecret decodeSecret (195ms)
 β—¦ decodeSecret check: 
 βœ“ decodeSecret check 
 β—¦ call reconnect after interval: 
 βœ“ call reconnect after interval (1217ms)
 β—¦ handle network indexes correctly: 
 βœ“ handle network indexes correctly 
 β—¦ handle network pubKeyRings correctly: 
 βœ“ handle network pubKeyRings correctly (62ms)
 β—¦ handle new connections: 
 βœ“ handle new connections 
 β—¦ handle disconnections: 
 βœ“ handle disconnections 
 β—¦ should register new copayers correctly: 
 βœ“ should register new copayers correctly 
 β—¦ should register new peers correctly: 
 βœ“ should register new peers correctly 
 β—¦ should get balance: 
 βœ“ should get balance 
 β—¦ should create transaction: 
 βœ“ should create transaction (360ms)
 WalletFactory model
 β—¦ should create the factory: 
 βœ“ should create the factory 
 β—¦ #_checkRead should return false: 
 βœ“ #_checkRead should return false 
 β—¦ should be able to create wallets: 
 βœ“ should be able to create wallets 
 β—¦ should be able to get wallets: 
 βœ“ should be able to get wallets 
 β—¦ #fromObj #toObj round trip: 
 βœ“ #fromObj #toObj round trip (44ms)
 β—¦ BIP32 length problem: 
 βœ“ BIP32 length problem 
 Insight model
 β—¦ should create an instance: 
 βœ“ should create an instance 
 - should return array of unspent output
 - should return txid
 Performance tests
 PrivateKey
 β—¦ should optimize BIP32 private key gen time with cache: 
 βœ“ should optimize BIP32 private key gen time with cache (192ms)
 PublicKeyRing
 β—¦ should optimize BIP32 publickey gen time with cache for 2-of-3: 
 βœ“ should optimize BIP32 publickey gen time with cache for 2-of-3 (127ms)
 β—¦ should optimize BIP32 publickey gen time with cache for 3-of-5: 
 βœ“ should optimize BIP32 publickey gen time with cache for 3-of-5 (211ms)
 Storage/File
 β—¦ should exist: 
 βœ“ should exist 
 #load
 β—¦ should call fs.readFile: 
 βœ“ should call fs.readFile 
 #save
 β—¦ should call fs.writeFile: 
 βœ“ should call fs.writeFile 
 #_read
 β—¦ should return the value of a key: 
 βœ“ should return the value of a key 
 #_write
 β—¦ should save the value of a key and then run save: 
 βœ“ should save the value of a key and then run save 
 #getGlobal
 β—¦ should call storage._read: 
 βœ“ should call storage._read 
 #setGlobal
 β—¦ should store a global key: 
 βœ“ should store a global key 
 #removeGlobal
 β—¦ should remove a global key: 
 βœ“ should remove a global key 
 #_key
 β—¦ should merge the wallet id and item key: 
 βœ“ should merge the wallet id and item key 
 #get
 β—¦ should call getGlobal with the correct key: 
 βœ“ should call getGlobal with the correct key 
 #set
 β—¦ should call setGlobal with the correct key: 
 βœ“ should call setGlobal with the correct key 
 #remove
 β—¦ should call removeGlobal with the correct key: 
 βœ“ should call removeGlobal with the correct key 
 #setFromObj
 β—¦ should set this object for a wallet: 
 βœ“ should set this object for a wallet 
 #getEncryptedObj
 β—¦ should give an encrypted object: 
 βœ“ should give an encrypted object 
 #clearAll
 β—¦ should set data to {}: 
 βœ“ should set data to {} 
  89 passing (8s)
  2 pending
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.

 API
 β—¦ should have a command called "echo": 
 βœ“ should have a command called "echo" (68ms)
 β—¦ should have argTypes for every command: 
 βœ“ should have argTypes for every command 
 β—¦ should throw an error for all commands when called with wrong number of arguments: 
 βœ“ should throw an error for all commands when called with wrong number of arguments 
 β—¦ should have a callback in the arguments on every command: 
 βœ“ should have a callback in the arguments on every command 
 #echo
 β—¦ should echo a string: 
 βœ“ should echo a string 
 #echoNumber
 β—¦ should echo a number: 
 βœ“ should echo a number (41ms)
 #echoObject
 β—¦ should echo an object: 
 βœ“ should echo an object (43ms)
 #getArgTypes
 β—¦ should get the argTypes of echo: 
 βœ“ should get the argTypes of echo (45ms)
 #getCommands
 β—¦ should get all the commands: 
 βœ“ should get all the commands 
 #getWallets
 β—¦ should get the wallet ids: 
 βœ“ should get the wallet ids 
 #help
 β—¦ should call _cmd_getCommands: 
 βœ“ should call _cmd_getCommands 
 AddressIndex model
 β—¦ should create an instance (livenet): 
 βœ“ should create an instance (livenet) 
 β—¦ show be able to tostore and read: 
 βœ“ show be able to tostore and read 
 β—¦ should count generation indexes: 
 βœ“ should count generation indexes 
 β—¦ #merge tests: 
 βœ“ #merge tests 
 Passphrase model
 β—¦ should create an instance: 
 βœ“ should create an instance 
 PrivateKey model
 β—¦ should create an instance: 
 βœ“ should create an instance 
 β—¦ should derive priv keys: 
 βœ“ should derive priv keys (75ms)
 β—¦ should derive priv keys array: 
 βœ“ should derive priv keys array (56ms)
 β—¦ should calculate .id: 
 βœ“ should calculate .id 
 β—¦ fromObj toObj roundtrip: 
 βœ“ fromObj toObj roundtrip (45ms)
 PublicKeyRing model
 β—¦ should create an instance (livenet): 
 βœ“ should create an instance (livenet) 
 β—¦ should create an instance (testnet): 
 βœ“ should create an instance (testnet) 
 β—¦ should fail to generate shared pub keys wo extended key: 
 βœ“ should fail to generate shared pub keys wo extended key 
 β—¦ should add and check when adding shared pub keys: 
 βœ“ should add and check when adding shared pub keys (72ms)
 β—¦ show be able to tostore and read: 
 βœ“ show be able to tostore and read (208ms)
 β—¦ should generate some p2sh addresses: 
 βœ“ should generate some p2sh addresses (133ms)
 β—¦ should return PublicKeyRing addresses: 
 βœ“ should return PublicKeyRing addresses (145ms)
 β—¦ should count generation indexes: 
 βœ“ should count generation indexes (185ms)
 β—¦ #merge index tests: 
 βœ“ #merge index tests (208ms)
 β—¦ #merge check tests: 
 βœ“ #merge check tests (111ms)
 β—¦ #merge pubkey tests: 
 βœ“ #merge pubkey tests (117ms)
 β—¦ #merge pubkey tests (case 2): 
 βœ“ #merge pubkey tests (case 2) (91ms)
 β—¦ #merge with nickname: 
 βœ“ #merge with nickname (69ms)
 β—¦ #toObj #fromObj with nickname: 
 βœ“ #toObj #fromObj with nickname (53ms)
 β—¦ #getRedeemScriptMap check tests: 
 βœ“ #getRedeemScriptMap check tests (159ms)
 Structure model
 β—¦ should have the correct constants: 
 βœ“ should have the correct constants 
 β—¦ should get the correct branches: 
 βœ“ should get the correct branches 
 TxProposals model
 β—¦ verify TXs: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ verify TXs (457ms)
 β—¦ should create an instance: 
 βœ“ should create an instance 
 β—¦ #getUsedUnspend: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #getUsedUnspend (289ms)
 β—¦ #merge with self: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge with self (275ms)
 β—¦ #merge, merge signatures case 1: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge, merge signatures case 1 (309ms)
 β—¦ #merge, merge signatures case 2: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge, merge signatures case 2 (389ms)
 β—¦ #merge, merge signatures case 3: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge, merge signatures case 3 (405ms)
 β—¦ #toObj #fromObj roundtrip: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #toObj #fromObj roundtrip (269ms)
 Wallet model
 β—¦ should fail to create an instance: 
 βœ“ should fail to create an instance 
 β—¦ should create an instance: 
 βœ“ should create an instance 
 β—¦ should provide some basic features: 
 βœ“ should provide some basic features (125ms)
 β—¦ #create, 1 sign: 
 βœ“ #create, 1 sign (216ms)
 β—¦ #addressIsOwn: 
 βœ“ #addressIsOwn (263ms)
 β—¦ #create. Signing with derivate keys: 
 βœ“ #create. Signing with derivate keys (447ms)
 β—¦ #fromObj #toObj round trip: 
 βœ“ #fromObj #toObj round trip (213ms)
 β—¦ #getSecret decodeSecret: 
 βœ“ #getSecret decodeSecret (183ms)
 β—¦ decodeSecret check: 
 βœ“ decodeSecret check 
 β—¦ call reconnect after interval: 
 βœ“ call reconnect after interval (1227ms)
 β—¦ handle network indexes correctly: 
 βœ“ handle network indexes correctly 
 β—¦ handle network pubKeyRings correctly: 
 βœ“ handle network pubKeyRings correctly (62ms)
 β—¦ handle new connections: 
 βœ“ handle new connections 
 β—¦ handle disconnections: 
 βœ“ handle disconnections 
 β—¦ should register new copayers correctly: 
 βœ“ should register new copayers correctly 
 β—¦ should register new peers correctly: 
 βœ“ should register new peers correctly 
 β—¦ should get balance: 
 βœ“ should get balance 
 β—¦ should create transaction: 
 βœ“ should create transaction (318ms)
 WalletFactory model
 β—¦ should create the factory: 
 βœ“ should create the factory 
 β—¦ #_checkRead should return false: 
 βœ“ #_checkRead should return false 
 β—¦ should be able to create wallets: 
 βœ“ should be able to create wallets 
 β—¦ should be able to get wallets: 
 βœ“ should be able to get wallets 
 β—¦ #fromObj #toObj round trip: 
 βœ“ #fromObj #toObj round trip (44ms)
 β—¦ BIP32 length problem: 
 βœ“ BIP32 length problem 
 Insight model
 β—¦ should create an instance: 
 βœ“ should create an instance 
 - should return array of unspent output
 - should return txid
 Performance tests
 PrivateKey
 β—¦ should optimize BIP32 private key gen time with cache: 
 βœ“ should optimize BIP32 private key gen time with cache (197ms)
 PublicKeyRing
 β—¦ should optimize BIP32 publickey gen time with cache for 2-of-3: 
 βœ“ should optimize BIP32 publickey gen time with cache for 2-of-3 (129ms)
 β—¦ should optimize BIP32 publickey gen time with cache for 3-of-5: 
 βœ“ should optimize BIP32 publickey gen time with cache for 3-of-5 (217ms)
 Storage/File
 β—¦ should exist: 
 βœ“ should exist 
 #load
 β—¦ should call fs.readFile: 
 βœ“ should call fs.readFile 
 #save
 β—¦ should call fs.writeFile: 
 βœ“ should call fs.writeFile 
 #_read
 β—¦ should return the value of a key: 
 βœ“ should return the value of a key 
 #_write
 β—¦ should save the value of a key and then run save: 
 βœ“ should save the value of a key and then run save 
 #getGlobal
 β—¦ should call storage._read: 
 βœ“ should call storage._read 
 #setGlobal
 β—¦ should store a global key: 
 βœ“ should store a global key 
 #removeGlobal
 β—¦ should remove a global key: 
 βœ“ should remove a global key 
 #_key
 β—¦ should merge the wallet id and item key: 
 βœ“ should merge the wallet id and item key 
 #get
 β—¦ should call getGlobal with the correct key: 
 βœ“ should call getGlobal with the correct key 
 #set
 β—¦ should call setGlobal with the correct key: 
 βœ“ should call setGlobal with the correct key 
 #remove
 β—¦ should call removeGlobal with the correct key: 
 βœ“ should call removeGlobal with the correct key 
 #setFromObj
 β—¦ should set this object for a wallet: 
 βœ“ should set this object for a wallet 
 #getEncryptedObj
 β—¦ should give an encrypted object: 
 βœ“ should give an encrypted object 
 #clearAll
 β—¦ should set data to {}: 
 βœ“ should set data to {} 
  89 passing (8s)
  2 pending
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.

 API
 β—¦ should have a command called "echo": 
 βœ“ should have a command called "echo" (60ms)
 β—¦ should have argTypes for every command: 
 βœ“ should have argTypes for every command 
 β—¦ should throw an error for all commands when called with wrong number of arguments: 
 βœ“ should throw an error for all commands when called with wrong number of arguments 
 β—¦ should have a callback in the arguments on every command: 
 βœ“ should have a callback in the arguments on every command 
 #echo
 β—¦ should echo a string: 
 βœ“ should echo a string 
 #echoNumber
 β—¦ should echo a number: 
 βœ“ should echo a number 
 #echoObject
 β—¦ should echo an object: 
 βœ“ should echo an object (39ms)
 #getArgTypes
 β—¦ should get the argTypes of echo: 
 βœ“ should get the argTypes of echo (40ms)
 #getCommands
 β—¦ should get all the commands: 
 βœ“ should get all the commands 
 #getWallets
 β—¦ should get the wallet ids: 
 βœ“ should get the wallet ids 
 #help
 β—¦ should call _cmd_getCommands: 
 βœ“ should call _cmd_getCommands 
 AddressIndex model
 β—¦ should create an instance (livenet): 
 βœ“ should create an instance (livenet) 
 β—¦ show be able to tostore and read: 
 βœ“ show be able to tostore and read 
 β—¦ should count generation indexes: 
 βœ“ should count generation indexes 
 β—¦ #merge tests: 
 βœ“ #merge tests 
 Passphrase model
 β—¦ should create an instance: 
 βœ“ should create an instance 
 PrivateKey model
 β—¦ should create an instance: 
 βœ“ should create an instance 
 β—¦ should derive priv keys: 
 βœ“ should derive priv keys (59ms)
 β—¦ should derive priv keys array: 
 βœ“ should derive priv keys array (45ms)
 β—¦ should calculate .id: 
 βœ“ should calculate .id 
 β—¦ fromObj toObj roundtrip: 
 βœ“ fromObj toObj roundtrip (41ms)
 PublicKeyRing model
 β—¦ should create an instance (livenet): 
 βœ“ should create an instance (livenet) 
 β—¦ should create an instance (testnet): 
 βœ“ should create an instance (testnet) 
 β—¦ should fail to generate shared pub keys wo extended key: 
 βœ“ should fail to generate shared pub keys wo extended key 
 β—¦ should add and check when adding shared pub keys: 
 βœ“ should add and check when adding shared pub keys (59ms)
 β—¦ show be able to tostore and read: 
 βœ“ show be able to tostore and read (197ms)
 β—¦ should generate some p2sh addresses: 
 βœ“ should generate some p2sh addresses (133ms)
 β—¦ should return PublicKeyRing addresses: 
 βœ“ should return PublicKeyRing addresses (143ms)
 β—¦ should count generation indexes: 
 βœ“ should count generation indexes (171ms)
 β—¦ #merge index tests: 
 βœ“ #merge index tests (185ms)
 β—¦ #merge check tests: 
 βœ“ #merge check tests (89ms)
 β—¦ #merge pubkey tests: 
 βœ“ #merge pubkey tests (101ms)
 β—¦ #merge pubkey tests (case 2): 
 βœ“ #merge pubkey tests (case 2) (85ms)
 β—¦ #merge with nickname: 
 βœ“ #merge with nickname (62ms)
 β—¦ #toObj #fromObj with nickname: 
 βœ“ #toObj #fromObj with nickname (43ms)
 β—¦ #getRedeemScriptMap check tests: 
 βœ“ #getRedeemScriptMap check tests (162ms)
 Structure model
 β—¦ should have the correct constants: 
 βœ“ should have the correct constants 
 β—¦ should get the correct branches: 
 βœ“ should get the correct branches 
 TxProposals model
 β—¦ verify TXs: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ verify TXs (374ms)
 β—¦ should create an instance: 
 βœ“ should create an instance 
 β—¦ #getUsedUnspend: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #getUsedUnspend (285ms)
 β—¦ #merge with self: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge with self (271ms)
 β—¦ #merge, merge signatures case 1: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge, merge signatures case 1 (300ms)
 β—¦ #merge, merge signatures case 2: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge, merge signatures case 2 (407ms)
 β—¦ #merge, merge signatures case 3: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge, merge signatures case 3 (410ms)
 β—¦ #toObj #fromObj roundtrip: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #toObj #fromObj roundtrip (267ms)
 Wallet model
 β—¦ should fail to create an instance: 
 βœ“ should fail to create an instance 
 β—¦ should create an instance: 
 βœ“ should create an instance 
 β—¦ should provide some basic features: 
 βœ“ should provide some basic features (120ms)
 β—¦ #create, 1 sign: 
 βœ“ #create, 1 sign (223ms)
 β—¦ #addressIsOwn: 
 βœ“ #addressIsOwn (267ms)
 β—¦ #create. Signing with derivate keys: 
 βœ“ #create. Signing with derivate keys (427ms)
 β—¦ #fromObj #toObj round trip: 
 βœ“ #fromObj #toObj round trip (243ms)
 β—¦ #getSecret decodeSecret: 
 βœ“ #getSecret decodeSecret (170ms)
 β—¦ decodeSecret check: 
 βœ“ decodeSecret check 
 β—¦ call reconnect after interval: 
 βœ“ call reconnect after interval (1193ms)
 β—¦ handle network indexes correctly: 
 βœ“ handle network indexes correctly 
 β—¦ handle network pubKeyRings correctly: 
 βœ“ handle network pubKeyRings correctly (61ms)
 β—¦ handle new connections: 
 βœ“ handle new connections 
 β—¦ handle disconnections: 
 βœ“ handle disconnections 
 β—¦ should register new copayers correctly: 
 βœ“ should register new copayers correctly 
 β—¦ should register new peers correctly: 
 βœ“ should register new peers correctly 
 β—¦ should get balance: 
 βœ“ should get balance 
 β—¦ should create transaction: 
 βœ“ should create transaction (262ms)
 WalletFactory model
 β—¦ should create the factory: 
 βœ“ should create the factory 
 β—¦ #_checkRead should return false: 
 βœ“ #_checkRead should return false 
 β—¦ should be able to create wallets: 
 βœ“ should be able to create wallets 
 β—¦ should be able to get wallets: 
 βœ“ should be able to get wallets 
 β—¦ #fromObj #toObj round trip: 
 βœ“ #fromObj #toObj round trip (44ms)
 β—¦ BIP32 length problem: 
 βœ“ BIP32 length problem 
 Insight model
 β—¦ should create an instance: 
 βœ“ should create an instance 
 - should return array of unspent output
 - should return txid
 Performance tests
 PrivateKey
 β—¦ should optimize BIP32 private key gen time with cache: 
 βœ“ should optimize BIP32 private key gen time with cache (198ms)
 PublicKeyRing
 β—¦ should optimize BIP32 publickey gen time with cache for 2-of-3: 
 βœ“ should optimize BIP32 publickey gen time with cache for 2-of-3 (129ms)
 β—¦ should optimize BIP32 publickey gen time with cache for 3-of-5: 
 βœ“ should optimize BIP32 publickey gen time with cache for 3-of-5 (214ms)
 Storage/File
 β—¦ should exist: 
 βœ“ should exist 
 #load
 β—¦ should call fs.readFile: 
 βœ“ should call fs.readFile 
 #save
 β—¦ should call fs.writeFile: 
 βœ“ should call fs.writeFile 
 #_read
 β—¦ should return the value of a key: 
 βœ“ should return the value of a key 
 #_write
 β—¦ should save the value of a key and then run save: 
 βœ“ should save the value of a key and then run save 
 #getGlobal
 β—¦ should call storage._read: 
 βœ“ should call storage._read 
 #setGlobal
 β—¦ should store a global key: 
 βœ“ should store a global key 
 #removeGlobal
 β—¦ should remove a global key: 
 βœ“ should remove a global key 
 #_key
 β—¦ should merge the wallet id and item key: 
 βœ“ should merge the wallet id and item key 
 #get
 β—¦ should call getGlobal with the correct key: 
 βœ“ should call getGlobal with the correct key 
 #set
 β—¦ should call setGlobal with the correct key: 
 βœ“ should call setGlobal with the correct key 
 #remove
 β—¦ should call removeGlobal with the correct key: 
 βœ“ should call removeGlobal with the correct key 
 #setFromObj
 β—¦ should set this object for a wallet: 
 βœ“ should set this object for a wallet 
 #getEncryptedObj
 β—¦ should give an encrypted object: 
 βœ“ should give an encrypted object 
 #clearAll
 β—¦ should set data to {}: 
 βœ“ should set data to {} 
  89 passing (8s)
  2 pending
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.

 API
 β—¦ should have a command called "echo": 
 βœ“ should have a command called "echo" (66ms)
 β—¦ should have argTypes for every command: 
 βœ“ should have argTypes for every command 
 β—¦ should throw an error for all commands when called with wrong number of arguments: 
 βœ“ should throw an error for all commands when called with wrong number of arguments 
 β—¦ should have a callback in the arguments on every command: 
 βœ“ should have a callback in the arguments on every command 
 #echo
 β—¦ should echo a string: 
 βœ“ should echo a string 
 #echoNumber
 β—¦ should echo a number: 
 βœ“ should echo a number (42ms)
 #echoObject
 β—¦ should echo an object: 
 βœ“ should echo an object (40ms)
 #getArgTypes
 β—¦ should get the argTypes of echo: 
 βœ“ should get the argTypes of echo (40ms)
 #getCommands
 β—¦ should get all the commands: 
 βœ“ should get all the commands 
 #getWallets
 β—¦ should get the wallet ids: 
 βœ“ should get the wallet ids 
 #help
 β—¦ should call _cmd_getCommands: 
 βœ“ should call _cmd_getCommands (48ms)
 AddressIndex model
 β—¦ should create an instance (livenet): 
 βœ“ should create an instance (livenet) 
 β—¦ show be able to tostore and read: 
 βœ“ show be able to tostore and read 
 β—¦ should count generation indexes: 
 βœ“ should count generation indexes 
 β—¦ #merge tests: 
 βœ“ #merge tests 
 Passphrase model
 β—¦ should create an instance: 
 βœ“ should create an instance 
 PrivateKey model
 β—¦ should create an instance: 
 βœ“ should create an instance 
 β—¦ should derive priv keys: 
 βœ“ should derive priv keys (60ms)
 β—¦ should derive priv keys array: 
 βœ“ should derive priv keys array (45ms)
 β—¦ should calculate .id: 
 βœ“ should calculate .id 
 β—¦ fromObj toObj roundtrip: 
 βœ“ fromObj toObj roundtrip (41ms)
 PublicKeyRing model
 β—¦ should create an instance (livenet): 
 βœ“ should create an instance (livenet) 
 β—¦ should create an instance (testnet): 
 βœ“ should create an instance (testnet) 
 β—¦ should fail to generate shared pub keys wo extended key: 
 βœ“ should fail to generate shared pub keys wo extended key 
 β—¦ should add and check when adding shared pub keys: 
 βœ“ should add and check when adding shared pub keys (73ms)
 β—¦ show be able to tostore and read: 
 βœ“ show be able to tostore and read (180ms)
 β—¦ should generate some p2sh addresses: 
 βœ“ should generate some p2sh addresses (134ms)
 β—¦ should return PublicKeyRing addresses: 
 βœ“ should return PublicKeyRing addresses (176ms)
 β—¦ should count generation indexes: 
 βœ“ should count generation indexes (157ms)
 β—¦ #merge index tests: 
 βœ“ #merge index tests (190ms)
 β—¦ #merge check tests: 
 βœ“ #merge check tests (108ms)
 β—¦ #merge pubkey tests: 
 βœ“ #merge pubkey tests (88ms)
 β—¦ #merge pubkey tests (case 2): 
 βœ“ #merge pubkey tests (case 2) (81ms)
 β—¦ #merge with nickname: 
 βœ“ #merge with nickname (63ms)
 β—¦ #toObj #fromObj with nickname: 
 βœ“ #toObj #fromObj with nickname (45ms)
 β—¦ #getRedeemScriptMap check tests: 
 βœ“ #getRedeemScriptMap check tests (157ms)
 Structure model
 β—¦ should have the correct constants: 
 βœ“ should have the correct constants 
 β—¦ should get the correct branches: 
 βœ“ should get the correct branches 
 TxProposals model
 β—¦ verify TXs: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ verify TXs (384ms)
 β—¦ should create an instance: 
 βœ“ should create an instance 
 β—¦ #getUsedUnspend: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #getUsedUnspend (297ms)
 β—¦ #merge with self: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge with self (261ms)
 β—¦ #merge, merge signatures case 1: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge, merge signatures case 1 (325ms)
 β—¦ #merge, merge signatures case 2: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge, merge signatures case 2 (381ms)
 β—¦ #merge, merge signatures case 3: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge, merge signatures case 3 (426ms)
 β—¦ #toObj #fromObj roundtrip: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #toObj #fromObj roundtrip (266ms)
 Wallet model
 β—¦ should fail to create an instance: 
 βœ“ should fail to create an instance 
 β—¦ should create an instance: 
 βœ“ should create an instance 
 β—¦ should provide some basic features: 
 βœ“ should provide some basic features (130ms)
 β—¦ #create, 1 sign: 
 βœ“ #create, 1 sign (235ms)
 β—¦ #addressIsOwn: 
 βœ“ #addressIsOwn (235ms)
 β—¦ #create. Signing with derivate keys: 
 βœ“ #create. Signing with derivate keys (455ms)
 β—¦ #fromObj #toObj round trip: 
 βœ“ #fromObj #toObj round trip (208ms)
 β—¦ #getSecret decodeSecret: 
 βœ“ #getSecret decodeSecret (191ms)
 β—¦ decodeSecret check: 
 βœ“ decodeSecret check 
 β—¦ call reconnect after interval: 
 βœ“ call reconnect after interval (1180ms)
 β—¦ handle network indexes correctly: 
 βœ“ handle network indexes correctly 
 β—¦ handle network pubKeyRings correctly: 
 βœ“ handle network pubKeyRings correctly (65ms)
 β—¦ handle new connections: 
 βœ“ handle new connections 
 β—¦ handle disconnections: 
 βœ“ handle disconnections 
 β—¦ should register new copayers correctly: 
 βœ“ should register new copayers correctly 
 β—¦ should register new peers correctly: 
 βœ“ should register new peers correctly 
 β—¦ should get balance: 
 βœ“ should get balance 
 β—¦ should create transaction: 
 βœ“ should create transaction (262ms)
 WalletFactory model
 β—¦ should create the factory: 
 βœ“ should create the factory 
 β—¦ #_checkRead should return false: 
 βœ“ #_checkRead should return false 
 β—¦ should be able to create wallets: 
 βœ“ should be able to create wallets 
 β—¦ should be able to get wallets: 
 βœ“ should be able to get wallets 
 β—¦ #fromObj #toObj round trip: 
 βœ“ #fromObj #toObj round trip 
 β—¦ BIP32 length problem: 
 βœ“ BIP32 length problem 
 Insight model
 β—¦ should create an instance: 
 βœ“ should create an instance 
 - should return array of unspent output
 - should return txid
 Performance tests
 PrivateKey
 β—¦ should optimize BIP32 private key gen time with cache: 
 βœ“ should optimize BIP32 private key gen time with cache (208ms)
 PublicKeyRing
 β—¦ should optimize BIP32 publickey gen time with cache for 2-of-3: 
 βœ“ should optimize BIP32 publickey gen time with cache for 2-of-3 (112ms)
 β—¦ should optimize BIP32 publickey gen time with cache for 3-of-5: 
 βœ“ should optimize BIP32 publickey gen time with cache for 3-of-5 (252ms)
 Storage/File
 β—¦ should exist: 
 βœ“ should exist 
 #load
 β—¦ should call fs.readFile: 
 βœ“ should call fs.readFile 
 #save
 β—¦ should call fs.writeFile: 
 βœ“ should call fs.writeFile 
 #_read
 β—¦ should return the value of a key: 
 βœ“ should return the value of a key 
 #_write
 β—¦ should save the value of a key and then run save: 
 βœ“ should save the value of a key and then run save 
 #getGlobal
 β—¦ should call storage._read: 
 βœ“ should call storage._read 
 #setGlobal
 β—¦ should store a global key: 
 βœ“ should store a global key 
 #removeGlobal
 β—¦ should remove a global key: 
 βœ“ should remove a global key 
 #_key
 β—¦ should merge the wallet id and item key: 
 βœ“ should merge the wallet id and item key 
 #get
 β—¦ should call getGlobal with the correct key: 
 βœ“ should call getGlobal with the correct key 
 #set
 β—¦ should call setGlobal with the correct key: 
 βœ“ should call setGlobal with the correct key 
 #remove
 β—¦ should call removeGlobal with the correct key: 
 βœ“ should call removeGlobal with the correct key 
 #setFromObj
 β—¦ should set this object for a wallet: 
 βœ“ should set this object for a wallet 
 #getEncryptedObj
 β—¦ should give an encrypted object: 
 βœ“ should give an encrypted object 
 #clearAll
 β—¦ should set data to {}: 
 βœ“ should set data to {} 
  89 passing (8s)
  2 pending
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.

 API
 β—¦ should have a command called "echo": 
 βœ“ should have a command called "echo" (64ms)
 β—¦ should have argTypes for every command: 
 βœ“ should have argTypes for every command 
 β—¦ should throw an error for all commands when called with wrong number of arguments: 
 βœ“ should throw an error for all commands when called with wrong number of arguments 
 β—¦ should have a callback in the arguments on every command: 
 βœ“ should have a callback in the arguments on every command 
 #echo
 β—¦ should echo a string: 
 βœ“ should echo a string 
 #echoNumber
 β—¦ should echo a number: 
 βœ“ should echo a number (44ms)
 #echoObject
 β—¦ should echo an object: 
 βœ“ should echo an object 
 #getArgTypes
 β—¦ should get the argTypes of echo: 
 βœ“ should get the argTypes of echo 
 #getCommands
 β—¦ should get all the commands: 
 βœ“ should get all the commands 
 #getWallets
 β—¦ should get the wallet ids: 
 βœ“ should get the wallet ids 
 #help
 β—¦ should call _cmd_getCommands: 
 βœ“ should call _cmd_getCommands (40ms)
 AddressIndex model
 β—¦ should create an instance (livenet): 
 βœ“ should create an instance (livenet) 
 β—¦ show be able to tostore and read: 
 βœ“ show be able to tostore and read 
 β—¦ should count generation indexes: 
 βœ“ should count generation indexes 
 β—¦ #merge tests: 
 βœ“ #merge tests 
 Passphrase model
 β—¦ should create an instance: 
 βœ“ should create an instance 
 PrivateKey model
 β—¦ should create an instance: 
 βœ“ should create an instance 
 β—¦ should derive priv keys: 
 βœ“ should derive priv keys (83ms)
 β—¦ should derive priv keys array: 
 βœ“ should derive priv keys array (48ms)
 β—¦ should calculate .id: 
 βœ“ should calculate .id 
 β—¦ fromObj toObj roundtrip: 
 βœ“ fromObj toObj roundtrip (41ms)
 PublicKeyRing model
 β—¦ should create an instance (livenet): 
 βœ“ should create an instance (livenet) 
 β—¦ should create an instance (testnet): 
 βœ“ should create an instance (testnet) 
 β—¦ should fail to generate shared pub keys wo extended key: 
 βœ“ should fail to generate shared pub keys wo extended key 
 β—¦ should add and check when adding shared pub keys: 
 βœ“ should add and check when adding shared pub keys (74ms)
 β—¦ show be able to tostore and read: 
 βœ“ show be able to tostore and read (181ms)
 β—¦ should generate some p2sh addresses: 
 βœ“ should generate some p2sh addresses (134ms)
 β—¦ should return PublicKeyRing addresses: 
 βœ“ should return PublicKeyRing addresses (154ms)
 β—¦ should count generation indexes: 
 βœ“ should count generation indexes (153ms)
 β—¦ #merge index tests: 
 βœ“ #merge index tests (187ms)
 β—¦ #merge check tests: 
 βœ“ #merge check tests (102ms)
 β—¦ #merge pubkey tests: 
 βœ“ #merge pubkey tests (90ms)
 β—¦ #merge pubkey tests (case 2): 
 βœ“ #merge pubkey tests (case 2) (90ms)
 β—¦ #merge with nickname: 
 βœ“ #merge with nickname (61ms)
 β—¦ #toObj #fromObj with nickname: 
 βœ“ #toObj #fromObj with nickname (48ms)
 β—¦ #getRedeemScriptMap check tests: 
 βœ“ #getRedeemScriptMap check tests (152ms)
 Structure model
 β—¦ should have the correct constants: 
 βœ“ should have the correct constants 
 β—¦ should get the correct branches: 
 βœ“ should get the correct branches 
 TxProposals model
 β—¦ verify TXs: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ verify TXs (379ms)
 β—¦ should create an instance: 
 βœ“ should create an instance 
 β—¦ #getUsedUnspend: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #getUsedUnspend (309ms)
 β—¦ #merge with self: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge with self (251ms)
 β—¦ #merge, merge signatures case 1: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge, merge signatures case 1 (324ms)
 β—¦ #merge, merge signatures case 2: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge, merge signatures case 2 (394ms)
 β—¦ #merge, merge signatures case 3: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge, merge signatures case 3 (419ms)
 β—¦ #toObj #fromObj roundtrip: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #toObj #fromObj roundtrip (314ms)
 Wallet model
 β—¦ should fail to create an instance: 
 βœ“ should fail to create an instance 
 β—¦ should create an instance: 
 βœ“ should create an instance 
 β—¦ should provide some basic features: 
 βœ“ should provide some basic features (167ms)
 β—¦ #create, 1 sign: 
 βœ“ #create, 1 sign (460ms)
 β—¦ #addressIsOwn: 
 βœ“ #addressIsOwn (390ms)
 β—¦ #create. Signing with derivate keys: 
 βœ“ #create. Signing with derivate keys (696ms)
 β—¦ #fromObj #toObj round trip: 
 βœ“ #fromObj #toObj round trip (237ms)
 β—¦ #getSecret decodeSecret: 
 βœ“ #getSecret decodeSecret (272ms)
 β—¦ decodeSecret check: 
 βœ“ decodeSecret check 
 β—¦ call reconnect after interval: 
 βœ“ call reconnect after interval (1226ms)
 β—¦ handle network indexes correctly: 
 βœ“ handle network indexes correctly 
 β—¦ handle network pubKeyRings correctly: 
 βœ“ handle network pubKeyRings correctly (58ms)
 β—¦ handle new connections: 
 βœ“ handle new connections 
 β—¦ handle disconnections: 
 βœ“ handle disconnections 
 β—¦ should register new copayers correctly: 
 βœ“ should register new copayers correctly 
 β—¦ should register new peers correctly: 
 βœ“ should register new peers correctly 
 β—¦ should get balance: 
 βœ“ should get balance 
 β—¦ should create transaction: 
 βœ“ should create transaction (280ms)
 WalletFactory model
 β—¦ should create the factory: 
 βœ“ should create the factory 
 β—¦ #_checkRead should return false: 
 βœ“ #_checkRead should return false 
 β—¦ should be able to create wallets: 
 βœ“ should be able to create wallets 
 β—¦ should be able to get wallets: 
 βœ“ should be able to get wallets 
 β—¦ #fromObj #toObj round trip: 
 βœ“ #fromObj #toObj round trip (60ms)
 β—¦ BIP32 length problem: 
 βœ“ BIP32 length problem 
 Insight model
 β—¦ should create an instance: 
 βœ“ should create an instance 
 - should return array of unspent output
 - should return txid
 Performance tests
 PrivateKey
 β—¦ should optimize BIP32 private key gen time with cache: 
 βœ“ should optimize BIP32 private key gen time with cache (512ms)
 PublicKeyRing
 β—¦ should optimize BIP32 publickey gen time with cache for 2-of-3: 
 βœ“ should optimize BIP32 publickey gen time with cache for 2-of-3 (214ms)
 β—¦ should optimize BIP32 publickey gen time with cache for 3-of-5: 
 βœ“ should optimize BIP32 publickey gen time with cache for 3-of-5 (406ms)
 Storage/File
 β—¦ should exist: 
 βœ“ should exist 
 #load
 β—¦ should call fs.readFile: 
 βœ“ should call fs.readFile (46ms)
 #save
 β—¦ should call fs.writeFile: 
 βœ“ should call fs.writeFile 
 #_read
 β—¦ should return the value of a key: 
 βœ“ should return the value of a key 
 #_write
 β—¦ should save the value of a key and then run save: 
 βœ“ should save the value of a key and then run save 
 #getGlobal
 β—¦ should call storage._read: 
 βœ“ should call storage._read 
 #setGlobal
 β—¦ should store a global key: 
 βœ“ should store a global key 
 #removeGlobal
 β—¦ should remove a global key: 
 βœ“ should remove a global key 
 #_key
 β—¦ should merge the wallet id and item key: 
 βœ“ should merge the wallet id and item key 
 #get
 β—¦ should call getGlobal with the correct key: 
 βœ“ should call getGlobal with the correct key 
 #set
 β—¦ should call setGlobal with the correct key: 
 βœ“ should call setGlobal with the correct key 
 #remove
 β—¦ should call removeGlobal with the correct key: 
 βœ“ should call removeGlobal with the correct key 
 #setFromObj
 β—¦ should set this object for a wallet: 
 βœ“ should set this object for a wallet 
 #getEncryptedObj
 β—¦ should give an encrypted object: 
 βœ“ should give an encrypted object 
 #clearAll
 β—¦ should set data to {}: 
 βœ“ should set data to {} 
  89 passing (10s)
  2 pending
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.

 API
 β—¦ should have a command called "echo": 
 βœ“ should have a command called "echo" (67ms)
 β—¦ should have argTypes for every command: 
 βœ“ should have argTypes for every command 
 β—¦ should throw an error for all commands when called with wrong number of arguments: 
 βœ“ should throw an error for all commands when called with wrong number of arguments 
 β—¦ should have a callback in the arguments on every command: 
 βœ“ should have a callback in the arguments on every command 
 #echo
 β—¦ should echo a string: 
 βœ“ should echo a string (39ms)
 #echoNumber
 β—¦ should echo a number: 
 βœ“ should echo a number (41ms)
 #echoObject
 β—¦ should echo an object: 
 βœ“ should echo an object (54ms)
 #getArgTypes
 β—¦ should get the argTypes of echo: 
 βœ“ should get the argTypes of echo (47ms)
 #getCommands
 β—¦ should get all the commands: 
 βœ“ should get all the commands 
 #getWallets
 β—¦ should get the wallet ids: 
 βœ“ should get the wallet ids 
 #help
 β—¦ should call _cmd_getCommands: 
 βœ“ should call _cmd_getCommands (42ms)
 AddressIndex model
 β—¦ should create an instance (livenet): 
 βœ“ should create an instance (livenet) 
 β—¦ show be able to tostore and read: 
 βœ“ show be able to tostore and read 
 β—¦ should count generation indexes: 
 βœ“ should count generation indexes 
 β—¦ #merge tests: 
 βœ“ #merge tests 
 Passphrase model
 β—¦ should create an instance: 
 βœ“ should create an instance 
 PrivateKey model
 β—¦ should create an instance: 
 βœ“ should create an instance 
 β—¦ should derive priv keys: 
 βœ“ should derive priv keys (67ms)
 β—¦ should derive priv keys array: 
 βœ“ should derive priv keys array (40ms)
 β—¦ should calculate .id: 
 βœ“ should calculate .id 
 β—¦ fromObj toObj roundtrip: 
 βœ“ fromObj toObj roundtrip (45ms)
 PublicKeyRing model
 β—¦ should create an instance (livenet): 
 βœ“ should create an instance (livenet) 
 β—¦ should create an instance (testnet): 
 βœ“ should create an instance (testnet) 
 β—¦ should fail to generate shared pub keys wo extended key: 
 βœ“ should fail to generate shared pub keys wo extended key 
 β—¦ should add and check when adding shared pub keys: 
 βœ“ should add and check when adding shared pub keys (97ms)
 β—¦ show be able to tostore and read: 
 βœ“ show be able to tostore and read (348ms)
 β—¦ should generate some p2sh addresses: 
 βœ“ should generate some p2sh addresses (211ms)
 β—¦ should return PublicKeyRing addresses: 
 βœ“ should return PublicKeyRing addresses (157ms)
 β—¦ should count generation indexes: 
 βœ“ should count generation indexes (196ms)
 β—¦ #merge index tests: 
 βœ“ #merge index tests (183ms)
 β—¦ #merge check tests: 
 βœ“ #merge check tests (90ms)
 β—¦ #merge pubkey tests: 
 βœ“ #merge pubkey tests (133ms)
 β—¦ #merge pubkey tests (case 2): 
 βœ“ #merge pubkey tests (case 2) (130ms)
 β—¦ #merge with nickname: 
 βœ“ #merge with nickname (113ms)
 β—¦ #toObj #fromObj with nickname: 
 βœ“ #toObj #fromObj with nickname (49ms)
 β—¦ #getRedeemScriptMap check tests: 
 βœ“ #getRedeemScriptMap check tests (154ms)
 Structure model
 β—¦ should have the correct constants: 
 βœ“ should have the correct constants 
 β—¦ should get the correct branches: 
 βœ“ should get the correct branches 
 TxProposals model
 β—¦ verify TXs: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ verify TXs (386ms)
 β—¦ should create an instance: 
 βœ“ should create an instance 
 β—¦ #getUsedUnspend: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #getUsedUnspend (283ms)
 β—¦ #merge with self: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge with self (350ms)
 β—¦ #merge, merge signatures case 1: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge, merge signatures case 1 (342ms)
 β—¦ #merge, merge signatures case 2: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge, merge signatures case 2 (481ms)
 β—¦ #merge, merge signatures case 3: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge, merge signatures case 3 (457ms)
 β—¦ #toObj #fromObj roundtrip: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #toObj #fromObj roundtrip (376ms)
 Wallet model
 β—¦ should fail to create an instance: 
 βœ“ should fail to create an instance 
 β—¦ should create an instance: 
 βœ“ should create an instance 
 β—¦ should provide some basic features: 
 βœ“ should provide some basic features (135ms)
 β—¦ #create, 1 sign: 
 βœ“ #create, 1 sign (235ms)
 β—¦ #addressIsOwn: 
 βœ“ #addressIsOwn (312ms)
 β—¦ #create. Signing with derivate keys: 
 βœ“ #create. Signing with derivate keys (479ms)
 β—¦ #fromObj #toObj round trip: 
 βœ“ #fromObj #toObj round trip (249ms)
 β—¦ #getSecret decodeSecret: 
 βœ“ #getSecret decodeSecret (203ms)
 β—¦ decodeSecret check: 
 βœ“ decodeSecret check 
 β—¦ call reconnect after interval: 
 βœ“ call reconnect after interval (1199ms)
 β—¦ handle network indexes correctly: 
 βœ“ handle network indexes correctly 
 β—¦ handle network pubKeyRings correctly: 
 βœ“ handle network pubKeyRings correctly (77ms)
 β—¦ handle new connections: 
 βœ“ handle new connections 
 β—¦ handle disconnections: 
 βœ“ handle disconnections 
 β—¦ should register new copayers correctly: 
 βœ“ should register new copayers correctly 
 β—¦ should register new peers correctly: 
 βœ“ should register new peers correctly 
 β—¦ should get balance: 
 βœ“ should get balance 
 β—¦ should create transaction: 
 βœ“ should create transaction (268ms)
 WalletFactory model
 β—¦ should create the factory: 
 βœ“ should create the factory 
 β—¦ #_checkRead should return false: 
 βœ“ #_checkRead should return false 
 β—¦ should be able to create wallets: 
 βœ“ should be able to create wallets 
 β—¦ should be able to get wallets: 
 βœ“ should be able to get wallets 
 β—¦ #fromObj #toObj round trip: 
 βœ“ #fromObj #toObj round trip (39ms)
 β—¦ BIP32 length problem: 
 βœ“ BIP32 length problem 
 Insight model
 β—¦ should create an instance: 
 βœ“ should create an instance 
 - should return array of unspent output
 - should return txid
 Performance tests
 PrivateKey
 β—¦ should optimize BIP32 private key gen time with cache: 
 βœ“ should optimize BIP32 private key gen time with cache (196ms)
 PublicKeyRing
 β—¦ should optimize BIP32 publickey gen time with cache for 2-of-3: 
 βœ“ should optimize BIP32 publickey gen time with cache for 2-of-3 (129ms)
 β—¦ should optimize BIP32 publickey gen time with cache for 3-of-5: 
 βœ“ should optimize BIP32 publickey gen time with cache for 3-of-5 (227ms)
 Storage/File
 β—¦ should exist: 
 βœ“ should exist 
 #load
 β—¦ should call fs.readFile: 
 βœ“ should call fs.readFile 
 #save
 β—¦ should call fs.writeFile: 
 βœ“ should call fs.writeFile 
 #_read
 β—¦ should return the value of a key: 
 βœ“ should return the value of a key 
 #_write
 β—¦ should save the value of a key and then run save: 
 βœ“ should save the value of a key and then run save 
 #getGlobal
 β—¦ should call storage._read: 
 βœ“ should call storage._read 
 #setGlobal
 β—¦ should store a global key: 
 βœ“ should store a global key 
 #removeGlobal
 β—¦ should remove a global key: 
 βœ“ should remove a global key 
 #_key
 β—¦ should merge the wallet id and item key: 
 βœ“ should merge the wallet id and item key 
 #get
 β—¦ should call getGlobal with the correct key: 
 βœ“ should call getGlobal with the correct key 
 #set
 β—¦ should call setGlobal with the correct key: 
 βœ“ should call setGlobal with the correct key 
 #remove
 β—¦ should call removeGlobal with the correct key: 
 βœ“ should call removeGlobal with the correct key 
 #setFromObj
 β—¦ should set this object for a wallet: 
 βœ“ should set this object for a wallet 
 #getEncryptedObj
 β—¦ should give an encrypted object: 
 βœ“ should give an encrypted object 
 #clearAll
 β—¦ should set data to {}: 
 βœ“ should set data to {} 
  89 passing (9s)
  2 pending
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.

 API
 β—¦ should have a command called "echo": 
 βœ“ should have a command called "echo" (73ms)
 β—¦ should have argTypes for every command: 
 βœ“ should have argTypes for every command 
 β—¦ should throw an error for all commands when called with wrong number of arguments: 
 βœ“ should throw an error for all commands when called with wrong number of arguments (53ms)
 β—¦ should have a callback in the arguments on every command: 
 βœ“ should have a callback in the arguments on every command 
 #echo
 β—¦ should echo a string: 
 βœ“ should echo a string (62ms)
 #echoNumber
 β—¦ should echo a number: 
 βœ“ should echo a number (48ms)
 #echoObject
 β—¦ should echo an object: 
 βœ“ should echo an object (55ms)
 #getArgTypes
 β—¦ should get the argTypes of echo: 
 βœ“ should get the argTypes of echo (55ms)
 #getCommands
 β—¦ should get all the commands: 
 βœ“ should get all the commands 
 #getWallets
 β—¦ should get the wallet ids: 
 βœ“ should get the wallet ids 
 #help
 β—¦ should call _cmd_getCommands: 
 βœ“ should call _cmd_getCommands (57ms)
 AddressIndex model
 β—¦ should create an instance (livenet): 
 βœ“ should create an instance (livenet) 
 β—¦ show be able to tostore and read: 
 βœ“ show be able to tostore and read 
 β—¦ should count generation indexes: 
 βœ“ should count generation indexes 
 β—¦ #merge tests: 
 βœ“ #merge tests 
 Passphrase model
 β—¦ should create an instance: 
 βœ“ should create an instance 
 PrivateKey model
 β—¦ should create an instance: 
 βœ“ should create an instance 
 β—¦ should derive priv keys: 
 βœ“ should derive priv keys (97ms)
 β—¦ should derive priv keys array: 
 βœ“ should derive priv keys array (57ms)
 β—¦ should calculate .id: 
 βœ“ should calculate .id 
 β—¦ fromObj toObj roundtrip: 
 βœ“ fromObj toObj roundtrip (52ms)
 PublicKeyRing model
 β—¦ should create an instance (livenet): 
 βœ“ should create an instance (livenet) 
 β—¦ should create an instance (testnet): 
 βœ“ should create an instance (testnet) 
 β—¦ should fail to generate shared pub keys wo extended key: 
 βœ“ should fail to generate shared pub keys wo extended key 
 β—¦ should add and check when adding shared pub keys: 
 βœ“ should add and check when adding shared pub keys (82ms)
 β—¦ show be able to tostore and read: 
 βœ“ show be able to tostore and read (336ms)
 β—¦ should generate some p2sh addresses: 
 βœ“ should generate some p2sh addresses (145ms)
 β—¦ should return PublicKeyRing addresses: 
 βœ“ should return PublicKeyRing addresses (147ms)
 β—¦ should count generation indexes: 
 βœ“ should count generation indexes (191ms)
 β—¦ #merge index tests: 
 βœ“ #merge index tests (224ms)
 β—¦ #merge check tests: 
 βœ“ #merge check tests (151ms)
 β—¦ #merge pubkey tests: 
 βœ“ #merge pubkey tests (137ms)
 β—¦ #merge pubkey tests (case 2): 
 βœ“ #merge pubkey tests (case 2) (90ms)
 β—¦ #merge with nickname: 
 βœ“ #merge with nickname (67ms)
 β—¦ #toObj #fromObj with nickname: 
 βœ“ #toObj #fromObj with nickname (55ms)
 β—¦ #getRedeemScriptMap check tests: 
 βœ“ #getRedeemScriptMap check tests (199ms)
 Structure model
 β—¦ should have the correct constants: 
 βœ“ should have the correct constants 
 β—¦ should get the correct branches: 
 βœ“ should get the correct branches 
 TxProposals model
 β—¦ verify TXs: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ verify TXs (434ms)
 β—¦ should create an instance: 
 βœ“ should create an instance 
 β—¦ #getUsedUnspend: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #getUsedUnspend (399ms)
 β—¦ #merge with self: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge with self (345ms)
 β—¦ #merge, merge signatures case 1: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge, merge signatures case 1 (379ms)
 β—¦ #merge, merge signatures case 2: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge, merge signatures case 2 (434ms)
 β—¦ #merge, merge signatures case 3: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #merge, merge signatures case 3 (437ms)
 β—¦ #toObj #fromObj roundtrip: bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead.
 βœ“ #toObj #fromObj roundtrip (263ms)
 Wallet model
 β—¦ should fail to create an instance: 
 βœ“ should fail to create an instance 
 β—¦ should create an instance: 
 βœ“ should create an instance 
 β—¦ should provide some basic features: 
 βœ“ should provide some basic features (128ms)
 β—¦ #create, 1 sign: 
 βœ“ #create, 1 sign (261ms)
 β—¦ #addressIsOwn: 
 βœ“ #addressIsOwn (315ms)
 β—¦ #create. Signing with derivate keys: 
 βœ“ #create. Signing with derivate keys (441ms)
 β—¦ #fromObj #toObj round trip: 
 βœ“ #fromObj #toObj round trip (248ms)
 β—¦ #getSecret decodeSecret: 
 βœ“ #getSecret decodeSecret (193ms)
 β—¦ decodeSecret check: 
 βœ“ decodeSecret check 
 β—¦ call reconnect after interval: 
 βœ“ call reconnect after interval (1222ms)
 β—¦ handle network indexes correctly: 
 βœ“ handle network indexes correctly 
 β—¦ handle network pubKeyRings correctly: 
 βœ“ handle network pubKeyRings correctly (62ms)
 β—¦ handle new connections: 
 βœ“ handle new connections 
 β—¦ handle disconnections: 
 βœ“ handle disconnections 
 β—¦ should register new copayers correctly: 
 βœ“ should register new copayers correctly 
 β—¦ should register new peers correctly: 
 βœ“ should register new peers correctly 
 β—¦ should get balance: 
 βœ“ should get balance 
 β—¦ should create transaction: 
 βœ“ should create transaction (271ms)
 WalletFactory model
 β—¦ should create the factory: 
 βœ“ should create the factory 
 β—¦ #_checkRead should return false: 
 βœ“ #_checkRead should return false 
 β—¦ should be able to create wallets: 
 βœ“ should be able to create wallets 
 β—¦ should be able to get wallets: 
 βœ“ should be able to get wallets 
 β—¦ #fromObj #toObj round trip: 
 βœ“ #fromObj #toObj round trip (46ms)
 β—¦ BIP32 length problem: 
 βœ“ BIP32 length problem 
 Insight model
 β—¦ should create an instance: 
 βœ“ should create an instance 
 - should return array of unspent output
 - should return txid
 Performance tests
 PrivateKey
 β—¦ should optimize BIP32 private key gen time with cache: 
 βœ“ should optimize BIP32 private key gen time with cache (203ms)
 PublicKeyRing
 β—¦ should optimize BIP32 publickey gen time with cache for 2-of-3: 
 βœ“ should optimize BIP32 publickey gen time with cache for 2-of-3 (139ms)
 β—¦ should optimize BIP32 publickey gen time with cache for 3-of-5: 
 βœ“ should optimize BIP32 publickey gen time with cache for 3-of-5 (229ms)
 Storage/File
 β—¦ should exist: 
 βœ“ should exist 
 #load
 β—¦ should call fs.readFile: 
 βœ“ should call fs.readFile 
 #save
 β—¦ should call fs.writeFile: 
 βœ“ should call fs.writeFile 
 #_read
 β—¦ should return the value of a key: 
 βœ“ should return the value of a key 
 #_write
 β—¦ should save the value of a key and then run save: 
 βœ“ should save the value of a key and then run save 
 #getGlobal
 β—¦ should call storage._read: 
 βœ“ should call storage._read 
 #setGlobal
 β—¦ should store a global key: 
 βœ“ should store a global key 
 #removeGlobal
 β—¦ should remove a global key: 
 βœ“ should remove a global key 
 #_key
 β—¦ should merge the wallet id and item key: 
 βœ“ should merge the wallet id and item key 
 #get
 β—¦ should call getGlobal with the correct key: 
 βœ“ should call getGlobal with the correct key 
 #set
 β—¦ should call setGlobal with the correct key: 
 βœ“ should call setGlobal with the correct key 
 #remove
 β—¦ should call removeGlobal with the correct key: 
 βœ“ should call removeGlobal with the correct key 
 #setFromObj
 β—¦ should set this object for a wallet: 
 βœ“ should set this object for a wallet 
 #getEncryptedObj
 β—¦ should give an encrypted object: 
 βœ“ should give an encrypted object 
 #clearAll
 β—¦ should set data to {}: 
 βœ“ should set data to {} 
  89 passing (9s)
  2 pending
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment