Test.sh broken

Running test.sh fails with following error:

# github.com/dgraph-io/ristretto/z [github.com/dgraph-io/ristretto/z.test]
z/buffer_test.go:281:3: t.Cleanup undefined (type *testing.T has no field or method Cleanup)
z/buffer_test.go:292:3: t.Cleanup undefined (type *testing.T has no field or method Cleanup)
ok      github.com/dgraph-io/ristretto  64.591s
?       github.com/dgraph-io/ristretto/contrib/demo     [no test files]
?       github.com/dgraph-io/ristretto/contrib/memtest  [no test files]
ok      github.com/dgraph-io/ristretto/sim      1.022s
FAIL    github.com/dgraph-io/ristretto/z [build failed]
ok      github.com/dgraph-io/ristretto/z/simd   1.043s
FAIL

It would be fixed by https://github.com/dgraph-io/ristretto/pull/290