set api endpoints for client side tests correctly