Fixed a bug in the test harness.