add top-level Makefile
add unit test harness and simple, starter unit tests
fix unit test