Fix expectations around script fields as a consequence of elasticsearch/elasticsearch#8592