edited test script