Tests and Fixes to the S3 provider

This has been done as used in robovid and needed an example for S3 config, so wrote some tests in here!