restored test script