* bus/test.c, bus/test.h, bus/Makefile.am, bus/test-main.c: set up a test framework as for the library