consolidate run-test script