Thanks to this change, a single method BeforeTest(t) can handle before-test logic as well as registration of cleanup code (t.Cleanup(func)).
Addresses comments from: https://github.com/etcd-io/etcd/pull/12671#pullrequestreview-593942302
Mechanical: % git mv clientv3 client/v3 % git mv client/mock client/v3/