fix tests for minitest 5