Updated tests for datasets controller and refactored how carrierwave stores files