wrote test script