Fix tests for Ruby 1.8

*Travis is green now!!!*