Use testing.TB interface for shared test/benchmark helpers