management: adding all high-level methods in nrd::Controller

Change-Id: Ib8d50dae5168f6f3ed3d30b22787cb3574f87e87
diff --git a/tests/management/test-nrd.cpp b/tests/management/test-nrd.cpp
index e45eb73..de95ee2 100644
--- a/tests/management/test-nrd.cpp
+++ b/tests/management/test-nrd.cpp
@@ -32,9 +32,14 @@
 
   const Block& blk = opt.wireEncode ();
 
-  BOOST_CHECK_EQUAL_COLLECTIONS (RealPrefixRegOptions,
-                                   RealPrefixRegOptions + sizeof (RealPrefixRegOptions),
-                                   blk.begin (), blk.end ());
+  BOOST_CHECK_EQUAL_COLLECTIONS(RealPrefixRegOptions,
+                                RealPrefixRegOptions + sizeof (RealPrefixRegOptions),
+                                blk.begin (), blk.end ());
+
+  std::ostringstream os;
+  os << opt;
+  BOOST_CHECK_EQUAL(os.str(), "PrefixRegOptions(Prefix: /localhost/reg/test, "
+                    "FaceID: 0, Flags: 1, Cost: 0, ExpirationPeriod: -1, Protocol: )");
 }
 
 BOOST_AUTO_TEST_CASE (PrefixRegOptionsDecoding)
diff --git a/tests/test-faces.cpp b/tests/test-faces.cpp
index 1fab695..0205cb1 100644
--- a/tests/test-faces.cpp
+++ b/tests/test-faces.cpp
@@ -160,7 +160,7 @@
   Face face;
   Face face2(face.ioService());
   Scheduler scheduler(*face.ioService());
-  scheduler.scheduleEvent(time::seconds(0.3),
+  scheduler.scheduleEvent(time::seconds(1),
                           bind(&FacesFixture::terminate, this, func_lib::ref(face)));
   
   regPrefixId = face.setInterestFilter("/Hello/World",