Accept a testing.TB instead of specifically *testing.T