Add heuristic distinguishing GAP and Scilab .tst files