Remove redundant os.path.isdir tests from test_s3