fix polyglot tests