core: Remove the NewServer method of the Runtime interface.

This is part of the runtimeX migration.

Change-Id: I92bdf790991926a55cff7a4394fa3bc114682511
diff --git a/tools/binary/impl_test.go b/tools/binary/impl_test.go
index 25cd9ef..d8708f7 100644
--- a/tools/binary/impl_test.go
+++ b/tools/binary/impl_test.go
@@ -12,6 +12,7 @@
 	"testing"
 
 	"v.io/core/veyron2"
+	"v.io/core/veyron2/context"
 	"v.io/core/veyron2/ipc"
 	"v.io/core/veyron2/naming"
 	"v.io/core/veyron2/rt"
@@ -84,9 +85,9 @@
 	return repository.BinaryServer(&server{suffix: suffix}), nil, nil
 }
 
-func startServer(t *testing.T, r veyron2.Runtime) (ipc.Server, naming.Endpoint, error) {
+func startServer(t *testing.T, ctx *context.T) (ipc.Server, naming.Endpoint, error) {
 	dispatcher := NewDispatcher()
-	server, err := r.NewServer()
+	server, err := veyron2.NewServer(ctx)
 	if err != nil {
 		t.Errorf("NewServer failed: %v", err)
 		return nil, nil, err
@@ -110,14 +111,14 @@
 }
 
 func TestBinaryClient(t *testing.T) {
-	var err error
-	runtime, err = rt.New()
+	runtime, err := rt.New()
 	if err != nil {
 		t.Fatalf("Unexpected error initializing runtime: %s", err)
 	}
 	defer runtime.Cleanup()
+	gctx = runtime.NewContext()
 
-	server, endpoint, err := startServer(t, runtime)
+	server, endpoint, err := startServer(t, gctx)
 	if err != nil {
 		return
 	}