fix test harness
syntax error fixes