fix minitest related error
fix specs