Fix test suite on Ruby 2.0