simplify test script