convert s3 and tests