fix test warnings

Update the minitest class and includes to fix warnings when running tests.