Fix warnings with newer minitest versions.