Avoid Ruby 2.0 warnings when running tests