Parse and return data retrieved from get_account, fix a couple of typos ...

...in messages, add a test for get_account.