Test wallet#sendTx

Added some tests to increase coverage. See #1127.