generalTest now erases zero size files
bugfix in hasattr func transform