Fix tests for Ruby 1.8

*Let's wait for Travis!*