for injection, add handler: add unit-tests

Add a handler to enable dependency injection for testing.  This is a
required step to use mocks.
Add the unit-tests.

Tested: Verified the new unit-tests ran.
Change-Id: I991849e6df2c3e74f59145a966048fc6825560db
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/test/Makefile.am b/test/Makefile.am
index 194e582..e754936 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -10,3 +10,8 @@
 
 check_PROGRAMS =
 TESTS = $(check_PROGRAMS)
+
+check_PROGRAMS += ethstats_unittest
+ethstats_unittest_SOURCES = ethstats_unittest.cpp
+ethstats_unittest_LDADD = $(top_builddir)/ethstats.o
+