Added auto-training test script