Fix a test failure on Ruby 2.0.