anchor.diff:          expect(document.cookie).not.toEqual(cookieStr);
           expect(cookies['x']).toEqual(longVal);
           //expect(logs.warn).toEqual([]);
  -
  -        cookies['x'] = longVal + 'xxxx'; //total size 4097-4099, a warning should be logged
  +        var overflow = 'xxxxxxxxxxxxxxxxxxxx';
  +        cookies['x'] = longVal + overflow; //total size 4097-4099, a warning should be logged
           //expect(logs.warn).toEqual(
           //    [[ "Cookie 'x' possibly not set or overflowed because it was too large (4097 > 4096 " +
           //    "bytes)!" ]]);
  -        expect(document.cookie).not.toContain('xxxx');
  +        expect(document.cookie).not.toContain(overflow);
   
           //force browser to dropped a cookie and make sure that the cache is not out of sync
           cookies['x'] = 'shortVal';
  
positive.code:         expect(document.cookie).toContain("oatmealCookie=stale");
        });
      });
          
      it('should remove cookie', () {
        cookiesService.remove("oatmealCookie");
        expect(document.cookie).not.toContain("oatmealCookie");
  
negative.code:         var errors = (exceptionHandler as LoggingExceptionHandler).errors;
          expect(errors.length).toEqual(2);
          expect(errors[0].error).
          toEqual("Cookie 'x' possibly not set or overflowed because it was too large (4113 > 4096 bytes)!");
          expect(errors[1].error).
          toEqual("Cookie 'x' possibly not set or overflowed because it was too large (12259 > 4096 bytes)!");
          errors.clear();
        }));
      });
  