added new option attribute in s3 configuration to control the upload of videos explicitly
fixed junit tests