test script learning py