simplifying test script