prepare test script