implemented test harness