add encoding unit tests

Change-Id: I319a34a760742e6125e6a28c4ddc23fcf2f29cb3
diff --git a/src/requester.hpp b/src/requester.hpp
index 4e2a1b1..117229c 100644
--- a/src/requester.hpp
+++ b/src/requester.hpp
@@ -84,7 +84,7 @@
    * @return A shared pointer of to the encoded interest, ready to be sent.
    */
   static shared_ptr<Interest>
-  genProbeInterest(const CaProfile& ca, std::vector<std::tuple<std::string, std::string>>&& probeInfo);
+  genProbeInterest(const CaProfile& ca,const std::vector<std::tuple<std::string, std::string>>& probeInfo);
 
   /**
    * @brief Decodes the replied data for PROBE process from the CA.