Allow using Ruby 2.0 for running tests.

@jamesarosen @shajith @ebryn