fixes polyglot test whitespace and Ruby string literal issue