I would actually go ahead and add this to the default mock data, here: https://github.com/fog/fog/blob/master/lib/fog/aws/storage.rb#L327

That way you can always assume it is there, which also allows you to simplify the code for delete above (since you can assume the hash at least exists). Make sense?