Added a simple test harness, and updated the current test suite to use it.