runcmd: api client tests