Added test script for aff_tr_stu.py