Add testing harness.

Support from #152.  @seancribbs on the review, pls.