tests: Do not use ``using namespace ndn'' and defining all tests in ndn namespace

Change-Id: I3299e6255e4067b142ad0c8f87bebe1892505d0d
diff --git a/tests/test-encode-decode-certificate.cpp b/tests/test-encode-decode-certificate.cpp
index 8a66d41..409e757 100644
--- a/tests/test-encode-decode-certificate.cpp
+++ b/tests/test-encode-decode-certificate.cpp
@@ -21,7 +21,7 @@
 #include <boost/test/output_test_stream.hpp>
 
 using namespace std;
-using namespace ndn;
+namespace ndn {
 
 using namespace CryptoPP;
 
@@ -181,3 +181,5 @@
 }
 
 BOOST_AUTO_TEST_SUITE_END()
+
+} // namespace ndn