fix test api.use