Fix ruby polyglot tests