enable unit-tests: enable for SensorManager

Enabled unit-tests in general for the project, and more
specifically started with a benign construction test for
the SensorManager object.

Tested: Verified continues to build and link, and unit-test
passes.
Tested: Ran on quanta-q71l board and it behaved as expected.

Change-Id: I4ad9a0c57efd0b9ccc37d26faa0cc1b82026b8d7
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/main.cpp b/main.cpp
index 6dbd7d6..a5758fe 100644
--- a/main.cpp
+++ b/main.cpp
@@ -85,7 +85,7 @@
     }
 
     auto ModeControlBus = sdbusplus::bus::new_default();
-    std::shared_ptr<SensorManager> mgmr;
+    SensorManager mgmr;
     std::map<int64_t, std::shared_ptr<PIDZone>> zones;
 
     // Create a manager for the ModeBus because we own it.
@@ -126,8 +126,8 @@
      * it.
      */
 
-    auto& HostSensorBus = mgmr->getHostBus();
-    auto& PassiveListeningBus = mgmr->getPassiveBus();
+    auto& HostSensorBus = mgmr.getHostBus();
+    auto& PassiveListeningBus = mgmr.getPassiveBus();
 
     std::cerr << "Starting threads\n";