Test remote API by calling local Werkzeug test client