Fixed bug in test harness IO conditionals