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;
