tests: sync common test infrastructure with ndn-cxx

Change-Id: I6f2ee4b5b644d6fddcebbe1158b1dd9ad2159417
diff --git a/tests/boost-test.hpp b/tests/boost-test.hpp
index 534f427..6592f3b 100644
--- a/tests/boost-test.hpp
+++ b/tests/boost-test.hpp
@@ -1,7 +1,7 @@
 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
-/**
- * Copyright (c) 2014-2017,  The University of Memphis
- *                           Regents of the University of California,
+/*
+ * Copyright (c) 2014-2019,  The University of Memphis,
+ *                           Regents of the University of California
  *
  * This file is part of NLSR (Named-data Link State Routing).
  * See AUTHORS.md for complete list of NLSR authors and contributors.
@@ -16,10 +16,7 @@
  *
  * You should have received a copy of the GNU General Public License along with
  * NLSR, e.g., in COPYING.md file.  If not, see <http://www.gnu.org/licenses/>.
- *
- * \author Yingdi Yu <yingdi@cs.ucla.edu>
- *
- **/
+ */
 
 #ifndef NLSR_TESTS_BOOST_TEST_HPP
 #define NLSR_TESTS_BOOST_TEST_HPP
@@ -28,8 +25,7 @@
 #pragma GCC system_header
 #pragma clang system_header
 
+#define BOOST_TEST_DYN_LINK
 #include <boost/test/unit_test.hpp>
-#include <boost/concept_check.hpp>
-#include <boost/test/output_test_stream.hpp>
 
 #endif // NLSR_TESTS_BOOST_TEST_HPP