adding test case using client API, fixing register_account wallet call