update test harness.
add logging.