Fix test_cat_version for S3