client api
test setup