test harness bug fix