BS-9304 : [6.3] Temporary folder never get cleared

- Clean a test