Fix all tests

The test assumes gem version of minitest is used, which may not be the
case