update header files in tests

Change-Id: Ibfffb9367349f58eeb193350bad34fdfccd8c553
diff --git a/tests/unit-tests/bench.t.cpp b/tests/unit-tests/bench.t.cpp
index 038e97b..46b56ef 100644
--- a/tests/unit-tests/bench.t.cpp
+++ b/tests/unit-tests/bench.t.cpp
@@ -19,17 +19,10 @@
  */
 
 #include "ca-module.hpp"
-#include "identity-management-fixture.hpp"
 #include "client-module.hpp"
 #include "challenge-module/challenge-pin.hpp"
 #include "protocol-detail/info.hpp"
-
-#include <ndn-cxx/util/dummy-client-face.hpp>
-#include <ndn-cxx/security/signing-helpers.hpp>
-#include <ndn-cxx/security/transform/public-key.hpp>
-#include <ndn-cxx/security/verification-helpers.hpp>
-#include <ndn-cxx/metadata-object.hpp>
-#include <iostream>
+#include "test-common.hpp"
 
 namespace ndn {
 namespace ndncert {
diff --git a/tests/unit-tests/ca-config.t.cpp b/tests/unit-tests/ca-config.t.cpp
index 0de626b..0538cd8 100644
--- a/tests/unit-tests/ca-config.t.cpp
+++ b/tests/unit-tests/ca-config.t.cpp
@@ -20,11 +20,7 @@
 
 #include "ca-config.hpp"
 #include "protocol-detail/info.hpp"
-#include "identity-management-fixture.hpp"
-
-#include <ndn-cxx/security/transform/base64-encode.hpp>
-#include <ndn-cxx/security/transform/buffer-source.hpp>
-#include <ndn-cxx/security/transform/stream-sink.hpp>
+#include "test-common.hpp"
 
 namespace ndn {
 namespace ndncert {
diff --git a/tests/unit-tests/ca-memory.t.cpp b/tests/unit-tests/ca-memory.t.cpp
index c64d8f7..7425a0e 100644
--- a/tests/unit-tests/ca-memory.t.cpp
+++ b/tests/unit-tests/ca-memory.t.cpp
@@ -19,8 +19,8 @@
  */
 
 #include "ca-detail/ca-memory.hpp"
-#include "identity-management-fixture.hpp"
 #include "ca-detail/ca-sqlite.hpp"
+#include "test-common.hpp"
 
 namespace ndn {
 namespace ndncert {
diff --git a/tests/unit-tests/ca-module.t.cpp b/tests/unit-tests/ca-module.t.cpp
index 095ac19..40cb3d6 100644
--- a/tests/unit-tests/ca-module.t.cpp
+++ b/tests/unit-tests/ca-module.t.cpp
@@ -23,13 +23,8 @@
 #include "challenge-module/challenge-email.hpp"
 #include "challenge-module/challenge-pin.hpp"
 #include "client-module.hpp"
-#include "database-fixture.hpp"
 #include "protocol-detail/info.hpp"
-
-#include <ndn-cxx/security/signing-helpers.hpp>
-#include <ndn-cxx/security/transform/public-key.hpp>
-#include <ndn-cxx/security/verification-helpers.hpp>
-#include <ndn-cxx/util/dummy-client-face.hpp>
+#include "test-common.hpp"
 
 namespace ndn {
 namespace ndncert {
diff --git a/tests/unit-tests/ca-sqlite.t.cpp b/tests/unit-tests/ca-sqlite.t.cpp
index f47bf9d..07782a6 100644
--- a/tests/unit-tests/ca-sqlite.t.cpp
+++ b/tests/unit-tests/ca-sqlite.t.cpp
@@ -19,8 +19,7 @@
  */
 
 #include "ca-detail/ca-sqlite.hpp"
-
-#include "database-fixture.hpp"
+#include "test-common.hpp"
 
 namespace ndn {
 namespace ndncert {
diff --git a/tests/unit-tests/challenge-credential.t.cpp b/tests/unit-tests/challenge-credential.t.cpp
index 9072fa0..566ffd8 100644
--- a/tests/unit-tests/challenge-credential.t.cpp
+++ b/tests/unit-tests/challenge-credential.t.cpp
@@ -19,7 +19,7 @@
  */
 
 #include "challenge-module/challenge-credential.hpp"
-#include "identity-management-fixture.hpp"
+#include "test-common.hpp"
 #include <ndn-cxx/security/signing-helpers.hpp>
 #include <ndn-cxx/util/io.hpp>
 
@@ -101,6 +101,6 @@
 
 BOOST_AUTO_TEST_SUITE_END()
 
-} // namespace tests
-} // namespace ndncert
-} // namespace ndn
+}  // namespace tests
+}  // namespace ndncert
+}  // namespace ndn
diff --git a/tests/unit-tests/challenge-email.t.cpp b/tests/unit-tests/challenge-email.t.cpp
index 834411d..8ff47c4 100644
--- a/tests/unit-tests/challenge-email.t.cpp
+++ b/tests/unit-tests/challenge-email.t.cpp
@@ -19,8 +19,7 @@
  */
 
 #include "challenge-module/challenge-email.hpp"
-
-#include "identity-management-fixture.hpp"
+#include "test-common.hpp"
 
 namespace ndn {
 namespace ndncert {
diff --git a/tests/unit-tests/challenge-pin.t.cpp b/tests/unit-tests/challenge-pin.t.cpp
index 81ee1e1..a1fea0d 100644
--- a/tests/unit-tests/challenge-pin.t.cpp
+++ b/tests/unit-tests/challenge-pin.t.cpp
@@ -19,8 +19,7 @@
  */
 
 #include "challenge-module/challenge-pin.hpp"
-
-#include "identity-management-fixture.hpp"
+#include "test-common.hpp"
 
 namespace ndn {
 namespace ndncert {
diff --git a/tests/unit-tests/client-config.t.cpp b/tests/unit-tests/client-config.t.cpp
index 8aabcab..f23f502 100644
--- a/tests/unit-tests/client-config.t.cpp
+++ b/tests/unit-tests/client-config.t.cpp
@@ -19,8 +19,7 @@
  */
 
 #include "client-config.hpp"
-
-#include "boost-test.hpp"
+#include "test-common.hpp"
 
 namespace ndn {
 namespace ndncert {
diff --git a/tests/unit-tests/client-module.t.cpp b/tests/unit-tests/client-module.t.cpp
index 7e6214b..159eaaf 100644
--- a/tests/unit-tests/client-module.t.cpp
+++ b/tests/unit-tests/client-module.t.cpp
@@ -21,13 +21,7 @@
 #include "client-module.hpp"
 #include "challenge-module.hpp"
 #include "ca-module.hpp"
-
-#include "identity-management-fixture.hpp"
-
-#include <ndn-cxx/util/dummy-client-face.hpp>
-#include <ndn-cxx/security/signing-helpers.hpp>
-#include <ndn-cxx/security/transform/public-key.hpp>
-#include <ndn-cxx/security/verification-helpers.hpp>
+#include "test-common.hpp"
 
 namespace ndn {
 namespace ndncert {
diff --git a/tests/unit-tests/crypto-helper.t.cpp b/tests/unit-tests/crypto-helper.t.cpp
index 8f8d7c0..28fbe63 100644
--- a/tests/unit-tests/crypto-helper.t.cpp
+++ b/tests/unit-tests/crypto-helper.t.cpp
@@ -19,7 +19,7 @@
  */
 
 #include "crypto-support/crypto-helper.hpp"
-#include "identity-management-fixture.hpp"
+#include "test-common.hpp"
 
 namespace ndn {
 namespace ndncert {
diff --git a/tests/unit-tests/enc-tlv.t.cpp b/tests/unit-tests/enc-tlv.t.cpp
index 56817d3..99c5fbe 100644
--- a/tests/unit-tests/enc-tlv.t.cpp
+++ b/tests/unit-tests/enc-tlv.t.cpp
@@ -18,9 +18,9 @@
  * See AUTHORS.md for complete list of ndncert authors and contributors.
  */
 
-#include "boost-test.hpp"
 #include "crypto-support/crypto-helper.hpp"
 #include "crypto-support/enc-tlv.hpp"
+#include "test-common.hpp"
 
 namespace ndn {
 namespace ndncert {