Fix a test assertion throwing an error under Ruby 2.0.0