Fix test for yaml output format in ruby 1.9.3