add test ensuring AmazonS3Resolver does not clear