tests: UnicastUdpTransport test suite improvements

Fixed m_hasBeenUsedRecently uninitialized in DatagramTransport

refs #3307

Change-Id: I786a84009d9cf01e0bb211c872d4375f46c747fd
diff --git a/tests/daemon/face/tcp-transport-fixture.hpp b/tests/daemon/face/tcp-transport-fixture.hpp
index 03594a1..38be67b 100644
--- a/tests/daemon/face/tcp-transport-fixture.hpp
+++ b/tests/daemon/face/tcp-transport-fixture.hpp
@@ -30,9 +30,6 @@
 #include "face/lp-face.hpp"
 
 #include "dummy-receive-link-service.hpp"
-#include "get-available-interface-ip.hpp"
-#include "transport-test-common.hpp"
-
 #include "tests/limited-io.hpp"
 
 namespace nfd {
@@ -86,7 +83,7 @@
   }
 
   void
-  remoteWrite(const ndn::Buffer& buf, bool needToCheck = true)
+  remoteWrite(const std::vector<uint8_t>& buf, bool needToCheck = true)
   {
     boost::asio::async_write(remoteSocket, boost::asio::buffer(buf),
       [needToCheck] (const boost::system::error_code& error, size_t) {
@@ -94,7 +91,7 @@
           BOOST_REQUIRE_EQUAL(error, boost::system::errc::success);
         }
       });
-    limitedIo.defer(time::milliseconds(50));
+    limitedIo.defer(time::seconds(1));
   }
 
 protected: