100% coverage of wallet.js