python test script