Fix compatiblity with MiniTest 4