Fix broken Ruby 1.9.3 tests