Fix carrierwave setting on test environment