fix internal port of TestAPI