API test fix after r225288.