Tests for StringCompiler::binaryExpression.