Fixed S3 functional test