Fix integration testing with minitest 5