Cleanup resources used by tests which were polluting temp directory