test script for YD