add encoding unit tests

Change-Id: I319a34a760742e6125e6a28c4ddc23fcf2f29cb3
diff --git a/src/requester.cpp b/src/requester.cpp
index 7b1df5f..774b805 100644
--- a/src/requester.cpp
+++ b/src/requester.cpp
@@ -88,14 +88,14 @@
 }
 
 shared_ptr<Interest>
-Requester::genProbeInterest(const CaProfile& ca, std::vector<std::tuple<std::string, std::string>>&& probeInfo)
+Requester::genProbeInterest(const CaProfile& ca,const std::vector<std::tuple<std::string, std::string>>& probeInfo)
 {
   Name interestName = ca.m_caPrefix;
   interestName.append("CA").append("PROBE");
   auto interest =std::make_shared<Interest>(interestName);
   interest->setMustBeFresh(true);
   interest->setCanBePrefix(false);
-  interest->setApplicationParameters(ProbeEncoder::encodeApplicationParameters(std::move(probeInfo)));
+  interest->setApplicationParameters(ProbeEncoder::encodeApplicationParameters(probeInfo));
   return interest;
 }