Cookie: fix tests for IE