fixed data saving, added test type name to saved results