Change the default uploader, force the test enviroment on test_helper

The uploaded was changed from RMagick to MiniMagick.
Change conditional assignment on test_helper to force the enviroment to be test because if you have set the RAILS_ENV in your enviroment variables the test will not run.