Added spec and fix for result not being cached for S3Aggregator.