Mock does not work for CDN, so fix it
Implement test for CDN invalidation support