Fix CarrierWave upload cleanup in test environment