add new-api query test