test: provide machinery to make and use test_shims