Translate some tests into ruby in the polyglot testsuite