fix to test harness