Fix specs so that they pass with Ruby 2.0