Fix a bug when files/folders/groups were executed because of the wrong way to search the class of every reexecuted test happening their deletion