Port TestAPI to new API.