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)