Invoke callbacks under make check

Add a simple test that invokes all the callbacks.  There
are no assertions but there is some value in ensuring
the application will at least run without crashing.

Change-Id: I117bff261202ae7e642094a659a954328351eac1
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/src/test/Makefile.am b/src/test/Makefile.am
index aaae1ff..a5d7405 100644
--- a/src/test/Makefile.am
+++ b/src/test/Makefile.am
@@ -179,3 +179,15 @@
 		-d ${srcdir}/yaml/conditiongentest \
 		-o $(builddir)/$@ \
 		generate-cpp
+
+check_PROGRAMS += callbacktest
+callbacktest_SOURCES = \
+	callbacktest.cpp
+callbacktest_CXXFLAGS = \
+	$(gtest_cflags)
+callbacktest_LDFLAGS = \
+	$(OESDK_TESTCASE_FLAGS)
+callbacktest_LDADD = \
+	${gtest_ldadd} \
+	${SDBUSPLUS_LIBS} \
+	$(builddir)/../journal.o