add tests for wallet rpc commands