fix test breakage due to array buffer change.