Test resources cleanup.