basic framework, waiting for Alex's comments
diff --git a/tests/NameServer_test.cpp b/tests/NameServer_test.cpp
new file mode 100644
index 0000000..92e8bcb
--- /dev/null
+++ b/tests/NameServer_test.cpp
@@ -0,0 +1,12 @@
+/*
+ * NameServer_test.cpp
+ *
+ *  Created on: 18 Jul, 2014
+ *      Author: shock
+ */
+
+#include "tool/nameServer.h"
+
+namespace ndn {
+
+} /* namespace ndn */
diff --git a/tests/Query_test.cpp b/tests/Query_test.cpp
new file mode 100644
index 0000000..57feefb
--- /dev/null
+++ b/tests/Query_test.cpp
@@ -0,0 +1,12 @@
+/*
+ * query_test.cpp
+ *
+ *  Created on: 18 Jul, 2014
+ *      Author: shock
+ */
+
+#include "src/query.h"
+
+namespace ndn {
+
+} /* namespace ndn */
diff --git a/tests/RR_test.cpp b/tests/RR_test.cpp
new file mode 100644
index 0000000..b14702d
--- /dev/null
+++ b/tests/RR_test.cpp
@@ -0,0 +1,24 @@
+/*
+ * RR_test.cpp
+ *
+ *  Created on: 18 Jul, 2014
+ *      Author: shock
+ */
+
+#include "../src/RR.h"
+
+
+int
+main(int argc, char *argv[])
+{
+	ndn::RR rr;
+	rr.setRrdata("www2.ex.com");
+
+	ndn::Block block = rr.wireEncode();
+
+	ndn::RR rr2;
+	rr2.wireDecode(block);
+	cout<<rr.getRrdata()<<endl;
+
+	return 0;
+}//main
diff --git a/tests/Resolver_test.cpp b/tests/Resolver_test.cpp
new file mode 100644
index 0000000..7db3f1f
--- /dev/null
+++ b/tests/Resolver_test.cpp
@@ -0,0 +1,12 @@
+/*
+ * Resolver_test.cpp
+ *
+ *  Created on: 18 Jul, 2014
+ *      Author: shock
+ */
+
+#include "resolver.h"
+
+namespace ndn {
+
+} /* namespace ndn */
diff --git a/tests/Zone_test.cpp b/tests/Zone_test.cpp
new file mode 100644
index 0000000..da5df01
--- /dev/null
+++ b/tests/Zone_test.cpp
@@ -0,0 +1,12 @@
+/*
+ * zone_test.cpp
+ *
+ *  Created on: 18 Jul, 2014
+ *      Author: shock
+ */
+
+#include "src/zone.h"
+
+namespace ndn {
+
+} /* namespace ndn */