test for the tc.pl and ts.pl for dirsha.pl but has some bugs for it