interest: Add Link and SelectedDelegation fields

Change-Id: I1e4bafe8559ef87135de6cb6f209fc94dfa231b0
Refs: #2587
diff --git a/tests/unit-tests/link.t.cpp b/tests/unit-tests/link.t.cpp
index d771b7b..f06a7dd 100644
--- a/tests/unit-tests/link.t.cpp
+++ b/tests/unit-tests/link.t.cpp
@@ -373,6 +373,12 @@
   }
 }
 
+BOOST_AUTO_TEST_CASE(CountDelegationFromWire)
+{
+  Block linkBlock(LinkTest, sizeof(LinkTest));
+  BOOST_CHECK_EQUAL(Link::countDelegationsFromWire(linkBlock), 2);
+}
+
 BOOST_AUTO_TEST_CASE(IncorrectContentType)
 {
   Block linkBlock(IncorrectContentTypeLink, sizeof(IncorrectContentTypeLink));