Add unit tests for S3 factory Init() validation (QPT-952) (#308)