receive *testing.T via an interface