Fixed middleware spec that checks if the 'Cache-Control' header is updated on response validation