fixing up test harness