add testCacheDomain and testNoCacheDomain tests