Fixed tests for AEUtilTempfiles::unregisterAndDeleteTempFile
Added reset param to factory methods
Fixed tests