Fixed tests for s3 module