script tests harness