added p1 test script