Fixed broken yaml related tests due to ruby/ruby@7833e69