Fix broken test in Ruby 2.0.0