Add more tests to Wallet.js

add tests to https://github.com/bitpay/copay/pull/1923