update test with minitest