add automatic test scripe