Fix tests for Minitest included in Ruby 1.9.2