why wasn't this committed?

fix api client tests after changing the external interface.