Updated unit tests for s3 bucket