pkg: move testutil to pkg