fixing polyglot tests for extproc refactor