Fix broken layer test.
Fix carrierwave config so file storage works correctly in test environment.