Added initial expressInterest
diff --git a/tests/test-get-async.cpp b/tests/test-get-async.cpp
index 011c28f..8965c54 100644
--- a/tests/test-get-async.cpp
+++ b/tests/test-get-async.cpp
@@ -35,23 +35,14 @@
 int main(int argc, char** argv)
 {
   try {
-    Interest interest;    
-    interest.getName() = Name("/ndn/ucla.edu/apps/ndn-js-test/hello.txt/level2/%FD%05%0B%16%7D%95%0E");
-    vector<unsigned char> encoding;
-    interest.encode(encoding);
-
-    TcpTransport transport;
-    transport.connect((char *)"E.hub.ndn.ucla.edu", 9695);
-    transport.send(&encoding[0], encoding.size());
-
-    MyClosure closure;
-    NDN ndn(&closure);
+    NDN ndn(ptr_lib::make_shared<TcpTransport>(), ptr_lib::make_shared<MyClosure>());
+    ndn.expressInterest(Name("/ndn/ucla.edu/apps/ndn-js-test/hello.txt/level2/%FD%05%0B%16%7D%95%0E"), ptr_lib::make_shared<MyClosure>(), 0);
     
     ndn_BinaryXMLElementReader elementReader;
     ndn_BinaryXMLElementReader_init(&elementReader, (struct ndn_ElementListener *)&ndn);
     
     unsigned char buffer[8000];
-    unsigned int nBytes = transport.receive(buffer, sizeof(buffer));
+    unsigned int nBytes = ndn.tempGetTransport().receive(buffer, sizeof(buffer));
     ndn_BinaryXMLElementReader_onReceivedData(&elementReader, buffer, nBytes);    
   } catch (exception &e) {
     cout << "exception: " << e.what() << endl;