Fix broken test using the minitest