added api client test