set/get CacheMode in TestWebSettings