fix analyzing-data - add testscript