bash test harness