diff --git a/tests/mgmt/internal-face.cpp b/tests/mgmt/internal-face.cpp
index 5953fc6..0c08190 100644
--- a/tests/mgmt/internal-face.cpp
+++ b/tests/mgmt/internal-face.cpp
@@ -5,14 +5,8 @@
  */
 
 #include "mgmt/internal-face.hpp"
-#include "mgmt/fib-manager.hpp"
-#include "table/fib.hpp"
 #include "../face/dummy-face.hpp"
 
-#include <ndn-cpp-dev/management/fib-management-options.hpp>
-#include <ndn-cpp-dev/management/control-response.hpp>
-#include <ndn-cpp-dev/encoding/block.hpp>
-
 #include <boost/test/unit_test.hpp>
 
 namespace nfd {
@@ -30,16 +24,6 @@
 
   }
 
-  shared_ptr<Face>
-  getFace(FaceId id)
-  {
-    if (m_faces.size() < id)
-      {
-        BOOST_FAIL("Attempted to access invalid FaceId: " << id);
-      }
-    return m_faces[id-1];
-  }
-
   void
   validateOnInterestCallback(const Name& name, const Interest& interest)
   {
@@ -102,11 +86,6 @@
   addFace(make_shared<DummyFace>());
 
   shared_ptr<InternalFace> face(new InternalFace);
-  Fib fib;
-  FibManager manager(fib,
-                     bind(&InternalFaceFixture::getFace,
-                          this, _1),
-                          face);
 
   bool didPutData = false;
   Name dataName("/hello");
@@ -124,11 +103,6 @@
   addFace(make_shared<DummyFace>());
 
   shared_ptr<InternalFace> face(new InternalFace);
-  Fib fib;
-  FibManager manager(fib,
-                     bind(&InternalFaceFixture::getFace,
-                          this, _1),
-                          face);
 
   face->setInterestFilter("/localhost/nfd/fib",
                           bind(&InternalFaceFixture::validateOnInterestCallback,
@@ -153,11 +127,6 @@
   addFace(make_shared<DummyFace>());
 
   shared_ptr<InternalFace> face(new InternalFace);
-  Fib fib;
-  FibManager manager(fib,
-                     bind(&InternalFaceFixture::getFace,
-                          this, _1),
-                          face);
 
   face->setInterestFilter("/localhost/nfd/fib",
                           bind(&InternalFaceFixture::validateNoOnInterestCallback,
@@ -181,11 +150,6 @@
   addFace(make_shared<DummyFace>());
 
   shared_ptr<InternalFace> face(new InternalFace);
-  Fib fib;
-  FibManager manager(fib,
-                     bind(&InternalFaceFixture::getFace,
-                          this, _1),
-                          face);
 
   face->setInterestFilter("/localhost/nfd/eib",
                           bind(&InternalFaceFixture::validateNoOnInterestCallback,
@@ -217,11 +181,6 @@
   addFace(make_shared<DummyFace>());
 
   shared_ptr<InternalFace> face(new InternalFace);
-  Fib fib;
-  FibManager manager(fib,
-                     bind(&InternalFaceFixture::getFace,
-                          this, _1),
-                          face);
 
   face->setInterestFilter("/localhost/nfd/fib",
                           bind(&InternalFaceFixture::validateOnInterestCallback,
