fix test harness