Remove duplicate reference of minitest and fix minitest warning