mocking document.cookie for more contained tests