mv x/ref/lib/testutil -> x/ref/test and lib/modules to test/modules
MultiPart: 1/7

Change-Id: Ib459a414c595afa48d31f78ee1a8165c2ae933ea
diff --git a/test/doc.go b/test/doc.go
new file mode 100644
index 0000000..a2bbe20
--- /dev/null
+++ b/test/doc.go
@@ -0,0 +1,20 @@
+// Package testutil provides initalization for unit and integration tests.
+//
+// Configures logging, random number generators and other global state.
+// Typical usage in _test.go files:
+//
+// import "v.io/x/ref/test"
+// func TestMain(m *testing.M) {
+//     test.Init()
+//     os.Exit(m.Run())
+// }
+//
+// InitForTest can be used within test functions as a safe alternative
+// to v23.Init.
+//
+// func TestFoo(t *testing.T) {
+//    ctx, shutdown := test.InitForTest()
+//    defer shutdown()
+//    ...
+// }
+package test