Fix testing regressions for Ruby 1.9.2 around YAML parsing.