Add more tests for webdriver cookie operations.

These tests are added for webdriver w3c spec in https://dvcs.w3.org/hg/webdriver/raw-file/default/webdriver-spec.html#cookies