make AmazonS3::testDirectories workable