pass api url to client tests