Test for the Page.setCookie.