Modified RE in test to accept OSX version of git. For example, "git version 1.7.9.6 (Apple Git-31.1)".
require 'mocha' is deprecated in favor of require 'mocha/setup'.
Tests now work with Ruby 2.0.0. Since strings are defaulted to UTF-8, things were breaking since a UTF-8 constant was being compared to an ASCII file read. Forcing the constant to be ASCII fixes this.