getaddressesbyaccoutn and getbalance test.

and one bug in the marshalling code for getbalance