Add cookies test

Spec: https://dvcs.w3.org/hg/webdriver/raw-file/default/webdriver-spec.html#cookies