adding rspec tests for file uploader