[TEST] S3OutputStream: check that all content has correctly been flushed