added test for cache control