Fix minitest on rails 3.x

Closes #32 

I tested this on a ruby-2.0.0-p353@Rails 3.2.13 and ruby-2.1.1@Rails 4.1.1