fix tests after api apdate